From a0839682d5ef8fa36aea3288a754fbb69de091fa Mon Sep 17 00:00:00 2001
From: Eric Andersen <andersen@codepoet.org>
Date: Tue, 26 Feb 2002 11:53:39 +0000
Subject: Fix redefine problem

---
 libc/misc/insremque/insremque.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'libc')

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.  */
-- 
cgit v1.2.3