Browse Source

Fix redefine problem

Eric Andersen 23 years ago
parent
commit
a0839682d5
1 changed files with 5 additions and 2 deletions
  1. 5 2
      libc/misc/insremque/insremque.c

+ 5 - 2
libc/misc/insremque/insremque.c

@@ -16,9 +16,12 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
    Boston, MA 02111-1307, USA.  */
 
 
-#include <stddef.h>
+#include <features.h>
 #define _GNU_SOURCE
 #define _GNU_SOURCE
-#define _SVID_SOURCE
+#include <stddef.h>
+#ifndef _SVID_SOURCE
+#define _SVID_SOURCE 1
+#endif
 #include <search.h>
 #include <search.h>
 
 
 /* Insert ELEM into a doubly-linked list, after PREV.  */
 /* Insert ELEM into a doubly-linked list, after PREV.  */