[LTP] [COMMITTED] [PATCH 3/3] waitid02: define _XOPEN_SOURCE 500
Cyril Hrubis
chrubis@suse.cz
Mon Jan 2 16:41:02 CET 2017
In order to get the getpgid() function declaration exposed on slightly
older distributions.
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
testcases/kernel/syscalls/waitid/waitid02.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/testcases/kernel/syscalls/waitid/waitid02.c b/testcases/kernel/syscalls/waitid/waitid02.c
index b72e25e..db7e883 100644
--- a/testcases/kernel/syscalls/waitid/waitid02.c
+++ b/testcases/kernel/syscalls/waitid/waitid02.c
@@ -38,6 +38,7 @@
/* Manas Kumar Nayak maknayak@in.ibm.com> */
/******************************************************************************/
+#define _XOPEN_SOURCE 500
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
--
2.7.3
More information about the ltp
mailing list