diff --git a/packages/games/libretro/mame/patches/mame-missing-include.patch b/packages/games/libretro/mame/patches/mame-missing-include.patch new file mode 100644 index 000000000..5847002d2 --- /dev/null +++ b/packages/games/libretro/mame/patches/mame-missing-include.patch @@ -0,0 +1,11 @@ +diff -rupN mame.orig/src/lib/netlist/plib/ppmf.h mame/src/lib/netlist/plib/ppmf.h +--- mame.orig/src/lib/netlist/plib/ppmf.h 2022-07-04 11:02:16.563354243 -0400 ++++ mame/src/lib/netlist/plib/ppmf.h 2022-07-04 11:03:01.483272032 -0400 +@@ -81,6 +81,7 @@ namespace plib { + #include "ptypes.h" + + #include ++#include // ptrdiff_t + #include // uintptr_t + #include + #include