summaryrefslogtreecommitdiffstats
path: root/sys/rpc/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/rpc/types.h')
-rw-r--r--sys/rpc/types.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/rpc/types.h b/sys/rpc/types.h
index 4a5c656..58d22a8 100644
--- a/sys/rpc/types.h
+++ b/sys/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)
OpenPOWER on IntegriCloud