1. Victor Stinner
  2. python-ptrace

Commits

Anthony Gelibert  committed f35b795

Add a new include on "sys/types.h" for Apple platforms (resolve a problem of symbol definition with sys/ptrace.h).

  • Participants
  • Parent commits 0e73695
  • Branches default

Comments (0)

Files changed (1)

File cptrace/cptrace.c

View file
 #include <Python.h>
 #include <stdbool.h>
+#if __APPLE__
+#include <sys/types.h>
+#endif
 #include <sys/ptrace.h>
 
 #define UNUSED(arg) arg __attribute__((unused))