Add a config.h definition for IPPROTO_IPV4.

Some older systems may only have IPPROTO_IPIP, the same value, but
less clear to read.
This commit is contained in:
Jon Siwek 2012-06-05 15:34:30 -05:00
parent 727b7783f9
commit f36d96144d

View file

@ -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