]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
mountpoint-copying-switch-to-up-needs-netinet-in-h-20010628
authorNathan Neulinger <nneul@umr.edu>
Thu, 28 Jun 2001 07:00:24 +0000 (07:00 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 28 Jun 2001 07:00:24 +0000 (07:00 +0000)
some platforms need netinet/in.h for mountpoint copying to work

src/venus/Makefile
src/venus/up.c

index fb57d422ed92f5cff029a416566ea525d3fce073..7da9bd3bad09bcc4b86e240379127f86f949090a 100644 (file)
@@ -13,7 +13,7 @@ include ../config/Makefile.${SYS_NAME}
 INSTALLex = ${INSTALL} -m 755
 CCXPG2= /usr/xpg2bin/cc
 
-CFLAGS = ${OPTMZ} -I${DESTDIR}include -I${SRCDIR}include ${XCFLAGS}
+CFLAGS = ${OPTMZ} -I${DESTDIR}include -I${TOP_SRCDIR}/config -I${SRCDIR}include ${XCFLAGS}
 
 INCLS = ${DESTDIR}include/afs/afsint.h \
        ${DESTDIR}include/afs/cmd.h \
index f6124314eef52723def6d40974086043362d8669..009203c07c8c19f209202190bdf858fccb61f646 100644 (file)
@@ -15,6 +15,7 @@
 /* ************************************************************* */
 
 #include <afs/param.h>
+#include <afsconfig.h>
 #include <errno.h>
 #ifdef AFS_AIX32_ENV
 #include <signal.h>
@@ -38,6 +39,9 @@
 #undef VICE
 #include <sys/ioctl.h>
 #include <netdb.h>      
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
 #include <afs/venus.h>
 
 /* ************************************************************* */