summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-03-29 14:25:40 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-03-29 14:25:40 +0000
commit0f0318e2de9509ba143fce015c14ee1671a6e5b7 (patch)
tree4484df0ea46eed28786abde20d9a456e6535ace3 /cpukit/libnetworking
parent2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-0f0318e2de9509ba143fce015c14ee1671a6e5b7.tar.bz2
2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/libc/strsep.c: Don't build if provided by libc.
Diffstat (limited to 'cpukit/libnetworking')
-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