Make tests/afcp compile cleanly
[openafs.git] / src / tests / afscp.c
index 248879e..717e705 100644 (file)
@@ -20,7 +20,7 @@
 #include <afs/cellconfig.h>
 #include <afs/sys_prototypes.h>
 
-#include <afs/afs_const.h>
+#include <afs/afs_consts.h>
 
 /*#include <rx/rxkad.h>*/
 #include <rx/rx_null.h>
@@ -40,7 +40,7 @@ statfile(char *path, char *cellname, afs_uint32 * server, struct AFSFid *f)
 
     struct ViceIoctl v;
     struct VenusFid vf;
-    afs_int32 srvbuf[MAXHOSTS];
+    afs_int32 srvbuf[AFS_MAXHOSTS];
     int code;
 
     if (!strncmp(path, "@afs:", 5)) {