diff --git a/lib/roken/roken-common.h b/lib/roken/roken-common.h index 90804be6f..1c402330e 100644 --- a/lib/roken/roken-common.h +++ b/lib/roken/roken-common.h @@ -40,6 +40,10 @@ #define INADDR_NONE 0xffffffff #endif +#ifndef INADDR_LOOPBACK +#define INADDR_LOOPBACK 0x7f000001 +#endif + #ifndef SOMAXCONN #define SOMAXCONN 5 #endif