summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/include/rpc/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/dietlibc/include/rpc/types.h')
-rw-r--r--mdk-stage1/dietlibc/include/rpc/types.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/mdk-stage1/dietlibc/include/rpc/types.h b/mdk-stage1/dietlibc/include/rpc/types.h
index e2e8402be..0e4f0b0e7 100644
--- a/mdk-stage1/dietlibc/include/rpc/types.h
+++ b/mdk-stage1/dietlibc/include/rpc/types.h
@@ -52,10 +52,6 @@ typedef unsigned long rpcport_t;
# define TRUE (1)
#endif
-#ifndef NULL
-# define NULL 0
-#endif
-
#include <stdlib.h> /* For malloc decl. */
#define mem_alloc(bsize) malloc(bsize)
#define mem_free(ptr, bsize) free(ptr)
@@ -69,7 +65,7 @@ typedef unsigned long rpcport_t;
#include <netinet/in.h>
#ifndef INADDR_LOOPBACK
-#define INADDR_LOOPBACK (u_long)0x7F000001
+#define INADDR_LOOPBACK 0x7F000001UL
#endif
#ifndef MAXHOSTNAMELEN
#define MAXHOSTNAMELEN 64