]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix compilation errors on Linux platforms without SO_MARK
authorDavid Sommerseth <davids@redhat.com>
Mon, 21 Nov 2011 15:17:44 +0000 (16:17 +0100)
committerDavid Sommerseth <davids@redhat.com>
Wed, 11 Jan 2012 15:02:47 +0000 (16:02 +0100)
commit032f0045246846f566f7433e95376916beb980b0
tree0c93384858a3d86ff4ee7d4abc8580a7b70e0755
parentedf8bbacd18d063e50c6a7f787f7e413d146af87
Fix compilation errors on Linux platforms without SO_MARK

When trying to compile OpenVPN on RHEL5/CentOS5, it would fail
due to missing declaration of SO_MARK.  SO_MARK is a feature which
first arrived in 2.6.26, and was never backported to RHEL5's 2.6.18
kernel base.

This patch adds a check at configure time, to see if SO_MARK is
available or not.

Signed-off-by: David Sommerseth <davids@redhat.com>
configure.ac
options.c
socket.c