From 7c2cb16764d8d549979f8b65915a76f4cd0dcbb8 Mon Sep 17 00:00:00 2001 From: Nathan Neulinger Date: Thu, 28 Jun 2001 07:00:24 +0000 Subject: [PATCH] mountpoint-copying-switch-to-up-needs-netinet-in-h-20010628 some platforms need netinet/in.h for mountpoint copying to work --- src/venus/Makefile | 2 +- src/venus/up.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/venus/Makefile b/src/venus/Makefile index fb57d422e..7da9bd3ba 100644 --- a/src/venus/Makefile +++ b/src/venus/Makefile @@ -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 \ diff --git a/src/venus/up.c b/src/venus/up.c index f6124314e..009203c07 100644 --- a/src/venus/up.c +++ b/src/venus/up.c @@ -15,6 +15,7 @@ /* ************************************************************* */ #include +#include #include #ifdef AFS_AIX32_ENV #include @@ -38,6 +39,9 @@ #undef VICE #include #include +#ifdef HAVE_NETINET_IN_H +#include +#endif #include /* ************************************************************* */ -- 2.39.5