added protection against #define of _POSIX_SOURCE
This commit is contained in:
parent
713521e0f5
commit
04480b1db9
3 changed files with 9 additions and 0 deletions
|
@ -4,6 +4,9 @@
|
||||||
*/
|
*/
|
||||||
/* $Header$ */
|
/* $Header$ */
|
||||||
|
|
||||||
|
#if defined(_POSIX_SOURCE)
|
||||||
|
#include <sys/types.h>
|
||||||
|
#endif
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
||||||
int _kill(int pid, int sig);
|
int _kill(int pid, int sig);
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
*/
|
*/
|
||||||
/* $Header$ */
|
/* $Header$ */
|
||||||
|
|
||||||
|
#if defined(_POSIX_SOURCE)
|
||||||
|
#include <sys/types.h>
|
||||||
|
#endif
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
*/
|
*/
|
||||||
/* $Header$ */
|
/* $Header$ */
|
||||||
|
|
||||||
|
#if defined(_POSIX_SOURCE)
|
||||||
|
#include <sys/types.h>
|
||||||
|
#endif
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue