summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorderaadt <deraadt@NetBSD.org>1993-06-15 01:03:37 +0000
committerderaadt <deraadt@NetBSD.org>1993-06-15 01:03:37 +0000
commite82a74188f2d54d60293098dc433d71f61aceef8 (patch)
tree611677472d41bc17487f33e67ad3504357f2f269 /include
parent9f0aa214be2507350a95561d8f766912b533b41f (diff)
ugh. INADDR_LOOPBACK needs to be here.
cgd suggests there might be dragons here...
Diffstat (limited to 'include')
-rw-r--r--include/rpc/types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/rpc/types.h b/include/rpc/types.h
index ff231b8ef2b..5bbae86f920 100644
--- a/include/rpc/types.h
+++ b/include/rpc/types.h
@@ -57,4 +57,8 @@
#endif
#include <sys/time.h>
+#ifndef INADDR_LOOPBACK
+#define INADDR_LOOPBACK (u_long)0x7F000001
+#endif
+
#endif /* !_RPC_TYPES_H */