From 41fdeb5678f874daf32986f7139f46e63b69fd6e Mon Sep 17 00:00:00 2001 From: Mark Olsen Date: Sat, 31 Dec 2005 13:33:10 +0000 Subject: [PATCH] sys/param.h is such a boring thing to include. Also, define INADDR_LOOPBACK for systems which don't have that define. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1744 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/netinc.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/engine/common/netinc.h b/engine/common/netinc.h index cf3e8f1be..124659874 100644 --- a/engine/common/netinc.h +++ b/engine/common/netinc.h @@ -25,7 +25,6 @@ #include #include #include - #include #include #include #include @@ -64,3 +63,7 @@ #define INVALID_SOCKET -1 #endif +#ifndef INADDR_LOOPBACK + #define INADDR_LOOPBACK 0x7f000001 +#endif +