From d6e194c91c9d3813e62e9e323bbcb1df55e11959 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Wed, 26 Jul 2017 00:30:36 +0200 Subject: call: Fix use of glibc feature selection macros __USE_XOPEN should not be used directly by application code. Other feature selection macros must be defined before inclusion of any system header files. Signed-off-by: Ralf Baechle --- call/call.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'call/call.c') 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 #include #include @@ -36,10 +40,8 @@ #include #include #include -#define __USE_XOPEN #include #include -#define _XOPEN_SOURCE_EXTENDED 1 #include #include #include -- cgit v1.2.3