pull-prototypes-to-head-20020821
[openafs.git] / src / vlserver / vlutils.c
index 42bdea7..88b4c02 100644 (file)
@@ -18,6 +18,15 @@ RCSID("$Header$");
 #else
 #include <netinet/in.h>
 #endif
+
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
+
 #include <lock.h>
 #include <rx/xdr.h>
 #include <ubik.h>
@@ -416,7 +425,7 @@ afs_int32 FindExtentBlock(trans, uuidp, createit, hostslot, expp, basep)
     struct extentaddr *exp;    
     register afs_int32 i, j, code, base, index, error=0;       
 
-    *expp = (struct extentaddr *)0;
+    *expp = NULL;
     *basep = 0;
 
     /* Create the first extension block if it does not exist */