summaryrefslogtreecommitdiff
path: root/libc/misc/insremque
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-02-26 11:53:39 +0000
committerEric Andersen <andersen@codepoet.org>2002-02-26 11:53:39 +0000
commita0839682d5ef8fa36aea3288a754fbb69de091fa (patch)
tree707ace74a3e24aa7916a56300842702de211f0b8 /libc/misc/insremque
parentcb6028dcf8d1711d5e979a8906f8811a61ad897b (diff)
Fix redefine problem
Diffstat (limited to 'libc/misc/insremque')
-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. */