summaryrefslogtreecommitdiff
path: root/libc/misc/insremque/insremque.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/insremque/insremque.c')
-rw-r--r--libc/misc/insremque/insremque.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/misc/insremque/insremque.c b/libc/misc/insremque/insremque.c
index 6a0e4e133..8cdf09b23 100644
--- a/libc/misc/insremque/insremque.c
+++ b/libc/misc/insremque/insremque.c
@@ -16,9 +16,12 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#include <stddef.h>
+#include <features.h>
#define _GNU_SOURCE
-#define _SVID_SOURCE
+#include <stddef.h>
+#ifndef _SVID_SOURCE
+#define _SVID_SOURCE 1
+#endif
#include <search.h>
/* Insert ELEM into a doubly-linked list, after PREV. */