summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--call/call.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/call/call.c b/call/call.c
index 1f3a452..172f491 100644
--- a/call/call.c
+++ b/call/call.c
@@ -17,6 +17,10 @@
/* 02.02.1997 removed NETROM_PACLEN setting to match Jonathon removing it
from kernel (VK2KTJ) */
+#define _DEFAULT_SOURCE
+#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE_EXTENDED
+
#include <sys/types.h>
#include <utime.h>
#include <limits.h>
@@ -36,10 +40,8 @@
#include <sys/wait.h>
#include <termios.h>
#include <unistd.h>
-#define __USE_XOPEN
#include <wchar.h>
#include <wctype.h>
-#define _XOPEN_SOURCE_EXTENDED 1
#include <ncursesw/ncurses.h>
#include <locale.h>
#include <iconv.h>