aboutsummaryrefslogtreecommitdiff
path: root/syshead.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2009-09-04 23:50:35 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2009-09-04 23:50:35 +0000
commit9938544706154aa7849596f68204d152aa564154 (patch)
treee50f3c9935ee51654eac8b565111f9eff008e1e8 /syshead.h
parentAdded new ./configure flags: (diff)
downloadopenvpn-9938544706154aa7849596f68204d152aa564154.tar.xz
Added "setcon" directive for interoperability with SELinux
(Sebastien Raveau). git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4932 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r--syshead.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/syshead.h b/syshead.h
index b6f3c4e..6e81103 100644
--- a/syshead.h
+++ b/syshead.h
@@ -180,6 +180,10 @@
#include <sys/epoll.h>
#endif
+#ifdef HAVE_SETCON
+#include <selinux/selinux.h>
+#endif
+
#ifdef TARGET_SOLARIS
#ifdef HAVE_STRINGS_H
#include <strings.h>