MKDIR_IF_NEEDED=[ -d $$1 ] || mkdir -p $$1
UKERNELDIR=../libuafs/
-CFLAGS= ${DBUG} -I${SRCDIR}include ${XCFLAGS} ${DBG_DEFS}
+CFLAGS= ${DBUG} -I${TOP_SRCDIR}/config -I${SRCDIR}include ${XCFLAGS} ${DBG_DEFS}
SFLAGS=-P -I${SRCDIR}include
LIBS= libsys.a ${SRCDIR}lib/librx.a libsys.a ${SRCDIR}lib/liblwp.a ${SRCDIR}lib/afs/util.a ${XLIBS}
UKSRCS=afsl.exp
*/
#include <afs/param.h>
+#include <afsconfig.h>
#ifdef AFS_AIX32_ENV
#include <signal.h>
#endif
#include <stdio.h>
+#include <stdlib.h>
+#ifndef AFS_NT40_ENV
+#include <unistd.h>
+#endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
#include <pwd.h>
-
-#ifdef notdef
-/* AFS_KERBEROS_ENV is now conditionally defined in the Makefile */
-#define AFS_KERBEROS_ENV
+#ifdef AFS_KERBEROS_ENV
+#include <sys/types.h>
+#include <sys/stat.h>
#endif
#include "AFS_component_version_number.c"
-main(argc, argv)
+extern afs_int32 setpag();
+
+int main(argc, argv)
int argc;
char **argv;
{
#ifdef AFS_KERBEROS_ENV
/* stolen from auth/ktc.c */
-#include <sys/types.h>
-#include <sys/stat.h>
-
-extern char *malloc();
-
static afs_uint32 curpag()
{
afs_uint32 groups[30];
* calls of setpag, and pioctl are supported.
*/
#include <afs/param.h>
+#include <afsconfig.h>
#include <errno.h>
#include <limits.h>
#include <sys/types.h>
#endif
#include <sys/stat.h>
#include <stdio.h>
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
#include <rx/xdr.h>
#include "rmtsys.h"
* This module resides in the lib/afs/librmtsys.a library.
*/
#include <afs/param.h>
+#include <afsconfig.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <afs/vice.h>
#include <stdio.h>
#include <rx/xdr.h>
#include <signal.h>
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
/*#include <afs/cellconfig.h>*/
#include "rmtsys.h"