]> granicus.if.org Git - strace/commitdiff
Fix build on uClibc
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 14 Dec 2010 00:02:35 +0000 (00:02 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 14 Dec 2010 00:02:35 +0000 (00:02 +0000)
* defs.h [LINUX]: Define PTRACE_GETEVENTMSG macro.
Patch by Douglas Mencken <dougmencken@gmail.com>.

defs.h

diff --git a/defs.h b/defs.h
index 7a7a071bb0327fe92c0715490322f6ab4b413764..0f516b6e7ac9eb590f8adbcc59a667bb95ec52df 100644 (file)
--- a/defs.h
+++ b/defs.h
@@ -312,6 +312,9 @@ extern int mp_ioctl (int f, int c, void *a, int s);
 # ifndef PTRACE_SETOPTIONS
 #  define PTRACE_SETOPTIONS    0x4200
 # endif
+# ifndef PTRACE_GETEVENTMSG
+#  define PTRACE_GETEVENTMSG   0x4201
+# endif
 # ifndef PTRACE_O_TRACEFORK
 #  define PTRACE_O_TRACEFORK   0x00000002
 # endif