Use strings.h on SCO (there's probably a better way of doing this, but this
authorewt <devnull@localhost>
Fri, 2 May 1997 15:47:37 +0000 (15:47 +0000)
committerewt <devnull@localhost>
Fri, 2 May 1997 15:47:37 +0000 (15:47 +0000)
will work so why bother?).

CVS patchset: 1590
CVS date: 1997/05/02 15:47:37

config.h.in
configure.in
misc/miscfn.h

index 86576c7..6b642e6 100644 (file)
@@ -47,4 +47,7 @@
    byte first (like Motorola and SPARC, unlike Intel and VAX).  */
 #define WORDS_BIGENDIAN 0
 
+/* Define as one if we need to include <strings.h> (along with <string.h>) */
+#define NEED_STRINGS_H 0
+
 #endif
index 7dd083c..0d722e6 100644 (file)
@@ -298,6 +298,7 @@ if echo "$build" | egrep 'solaris|hpux10|sco' >/dev/null ; then
                LIBDL=-ldl
        elif echo "$build" | grep sco > /dev/null; then
                echo "hacking things up for sco"
+               AC_DEFINE(NEED_STRINGS_H)
        else
                echo "hacking things up for hpux"
        fi
index e543069..3f75431 100644 (file)
@@ -31,4 +31,8 @@ char *realpath(char *path, char resolved_path[]);
 #define S_ISSOCK(mode) ((mode) & S_IFSOCK)
 #endif
 
+#if NEED_STRINGS_H
+#include <strings.h>
+#endif
+
 #endif