From f36d96144da10acf0a4ea104de393fb87427f4d9 Mon Sep 17 00:00:00 2001 From: Jon Siwek Date: Tue, 5 Jun 2012 15:34:30 -0500 Subject: [PATCH] Add a config.h definition for IPPROTO_IPV4. Some older systems may only have IPPROTO_IPIP, the same value, but less clear to read. --- config.h.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.h.in b/config.h.in index c2cb3ec1dc..5368d6824e 100644 --- a/config.h.in +++ b/config.h.in @@ -165,6 +165,10 @@ #ifndef HAVE_IPPROTO_IPV6 #define IPPROTO_IPV6 41 #endif +#cmakedefine HAVE_IPPROTO_IPV4 +#ifndef HAVE_IPPROTO_IPV4 +#define IPPROTO_IPV4 4 +#endif #cmakedefine HAVE_IPPROTO_ROUTING #ifndef HAVE_IPPROTO_ROUTING #define IPPROTO_ROUTING 43