summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/libc
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking/libc')
-rw-r--r--cpukit/libnetworking/libc/strsep.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/libnetworking/libc/strsep.c b/cpukit/libnetworking/libc/strsep.c
index 182319493d..624a1e13f8 100644
--- a/cpukit/libnetworking/libc/strsep.c
+++ b/cpukit/libnetworking/libc/strsep.c
@@ -37,6 +37,12 @@
static const char sccsid[] = "@(#)strsep.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#if !HAVE_STRSEP
+
#include <string.h>
#include <stdio.h>
@@ -83,3 +89,4 @@ strsep(stringp, delim)
}
/* NOTREACHED */
}
+#endif