mq_timedreceive have wrong _XOPEN_SOURCE
PATCH 1/1 mq_timedreceive have wrong _XOPEN_SOURCE
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]
Signature · 2 lines
Cyril Hrubis [email protected]
testcases/kernel/syscalls/mq_timedreceive/mq_timedreceive01.c +1 -1
@@ -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