Hi!
The mq_timedreceive01.c test defines _XOPEN_SOURCE 500 on the beginning but
this causes missing prototypes for seteuid() and mq_timedreceive() as they need
_XOPEN_SOURCE >= 600. Following patch fixes that.

Signed-off-by: Cyril Hrubis [email protected]

-- 
Cyril Hrubis
[email protected]
Index: ltp-full-20100430/testcases/kernel/syscalls/mq_timedreceive/mq_timedreceive01.c
===================================================================
--- ltp-full-20100430.orig/testcases/kernel/syscalls/mq_timedreceive/mq_timedreceive01.c
+++ ltp-full-20100430/testcases/kernel/syscalls/mq_timedreceive/mq_timedreceive01.c
@@ -45,7 +45,7 @@
 /* History:     Porting from Crackerjack to LTP is done by                    */
 /*              Manas Kumar Nayak [email protected]>                        */
 /******************************************************************************/
-#define _XOPEN_SOURCE 500
+#define _XOPEN_SOURCE 600
 #include <sys/syscall.h>
 #include <sys/types.h>
 #include <sys/stat.h>
------------------------------------------------------------------------------

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to