Commits

Victor Stinner committed 4ef4c7f Merge

(Merge) Fix compilation on Apple, patch written by Anthony Gelibert

Comments (0)

Files changed (3)

 python-ptrace authors
 =====================
 
+Anthony Gelibert - fix cptrace on Apple
 Dimitris Glynos <dimitris AT census-labs.com> - follow gdb.py commands
 Jakub Wilk <jwilk AT debian.org> - fix for GNU/kFreeBSD
 Mark Seaborn <mrs AT mythic-beasts.com> - Create -i option for strace
 python-ptrace 0.6.4
 -------------------
 
- * Support GNU/kFreeBSD
+ * Fix compilation on Apple, patch written by Anthony Gelibert
+ * Support GNU/kFreeBSD, patch written by Jakub Wilk
  * Support sockaddr_in6 (IPv6 address)
 
 python-ptrace 0.6.3 (2011-02-16)

cptrace/cptrace.c

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