hpux-20021106
authorDouglas Engert <deengert@anl.gov>
Wed, 6 Nov 2002 20:32:33 +0000 (20:32 +0000)
committerJim Rees <rees@umich.edu>
Wed, 6 Nov 2002 20:32:33 +0000 (20:32 +0000)
Minor fixes for HPUX110.

src/rx/rx_kcommon.h
src/util/afs_lhash.c

index e6162e8..45bf287 100644 (file)
@@ -41,7 +41,9 @@ typedef unsigned short                  etap_event_t;
 #include "h/socketvar.h"
 #if !defined(AFS_SUN5_ENV) && !defined(AFS_XBSD_ENV)
 #include "h/domain.h"
+#if !defined(AFS_HPUX110_ENV)
 #include "h/dir.h"
+#endif
 #include "h/buf.h"
 #include "h/mbuf.h"
 #else /* !defined(AFS_SUN5_ENV) && !defined(AFS_XBSD_ENV) */
index 4f3bbbd..05af5e2 100644 (file)
@@ -20,6 +20,10 @@ RCSID("$Header$");
 #define CHECK_INVARIANTS
 #endif /* !KERNEL */
 
+#ifndef NULL
+#define NULL 0
+#endif
+
 /* max hash table load factor */
 enum { LOAD_FACTOR = 5 };