aboutsummaryrefslogtreecommitdiff
path: root/include/rpc
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2003-12-07 21:10:06 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2003-12-07 21:10:06 +0000
commit12eb46c8bb2bf8a79a8151f4bd96aa7ce5bfe63d (patch)
tree9b033e9ca59d72fe94f812d9b6d08476039b8049 /include/rpc
parent4fb638c32958057a1a08cde4dc4ce567b4540f7d (diff)
Notes
Diffstat (limited to 'include/rpc')
-rw-r--r--include/rpc/types.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/rpc/types.h b/include/rpc/types.h
index 4a5c6564b270..58d22a8a5416 100644
--- a/include/rpc/types.h
+++ b/include/rpc/types.h
@@ -40,6 +40,7 @@
#define _RPC_TYPES_H
#include <sys/types.h>
+#include <sys/_null.h>
typedef int32_t bool_t;
typedef int32_t enum_t;
@@ -59,9 +60,6 @@ typedef int32_t rpc_inline_t;
#ifndef TRUE
# define TRUE (1)
#endif
-#ifndef NULL
-# define NULL 0
-#endif
#define mem_alloc(bsize) calloc(1, bsize)
#define mem_free(ptr, bsize) free(ptr)