]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
fix-afsmonitor-patch-for-string-h-existance-check-20010602
authorNathan Neulinger <nneul@umr.edu>
Sun, 3 Jun 2001 17:52:05 +0000 (17:52 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sun, 3 Jun 2001 17:52:05 +0000 (17:52 +0000)
as not all platforms may have string.h

src/afsmonitor/Makefile
src/afsmonitor/afsmon-win.c

index c535dc120b946e22fec42df9e00658f72229269d..a02e155bd535c560ad184205d424cee8b012b8f2 100644 (file)
@@ -14,6 +14,7 @@ COMPONENT=afsmonitor
 include ../config/Makefile.${SYS_NAME}
 
 CFLAGS=-g -I. \
+       -I${TOP_SRCDIR}/config \
        -I${SRCDIR}include \
        -I${SRCDIR}include/afs \
        -I${SRCDIR} ${XCFLAGS}
index cd1f9979e1328eb5edc9651faa5f2a0768be05e4..87c989c714b95eeb2675b2542169521d099e50f6 100644 (file)
 #include <math.h>
 #include <cmd.h>
 #include <afs/param.h>
+#include <afsconfig.h>
+#ifdef HAVE_STRING_H
 #include <string.h>
+#endif
 #undef IN
 #include <time.h>