summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/main.c b/main.c
index cffa27b..8b23029 100644
--- a/main.c
+++ b/main.c
@@ -29,21 +29,9 @@ in this Software without prior written authorization from The Open Group.
#define sigvec sigvector
#endif /* hpux */
-#ifdef X_POSIX_C_SOURCE
-#define _POSIX_C_SOURCE X_POSIX_C_SOURCE
#include <signal.h>
-#undef _POSIX_C_SOURCE
-#else
-#if defined(X_NOT_POSIX) || defined(_POSIX_SOURCE)
-#include <signal.h>
-#else
-#define _POSIX_SOURCE
-#include <signal.h>
-#undef _POSIX_SOURCE
-#endif
-#endif
-
#include <stdarg.h>
+#include <unistd.h>
#ifdef __sun
#include <sys/utsname.h>