From: Nathan Neulinger Date: Sun, 3 Jun 2001 17:52:05 +0000 (+0000) Subject: fix-afsmonitor-patch-for-string-h-existance-check-20010602 X-Git-Tag: openafs-stable-1_1_0~133 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=a09cdb27b8e998a58534978d044bf7b6a6eb9538;p=packages%2Fo%2Fopenafs.git fix-afsmonitor-patch-for-string-h-existance-check-20010602 as not all platforms may have string.h --- diff --git a/src/afsmonitor/Makefile b/src/afsmonitor/Makefile index c535dc120..a02e155bd 100644 --- a/src/afsmonitor/Makefile +++ b/src/afsmonitor/Makefile @@ -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} diff --git a/src/afsmonitor/afsmon-win.c b/src/afsmonitor/afsmon-win.c index cd1f9979e..87c989c71 100644 --- a/src/afsmonitor/afsmon-win.c +++ b/src/afsmonitor/afsmon-win.c @@ -17,7 +17,10 @@ #include #include #include +#include +#ifdef HAVE_STRING_H #include +#endif #undef IN #include