diff options
author | Alon Bar-Lev <alon.barlev@gmail.com> | 2012-02-29 22:12:14 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2012-03-22 22:53:39 +0100 |
commit | dc81e743989640cc681a40e69455cc9fc736ab9c (patch) | |
tree | f6706bec7d6e104693836be58f92da0a99f3bc50 /src/openvpn/syshead.h | |
parent | c110b289eced4a792fd7c7c29e651b22f602fd24 (diff) | |
download | openvpn-dc81e743989640cc681a40e69455cc9fc736ab9c.tar.gz openvpn-dc81e743989640cc681a40e69455cc9fc736ab9c.tar.xz openvpn-dc81e743989640cc681a40e69455cc9fc736ab9c.zip |
build: split out compat
compat should not use any of the main project headers or conventions,
it should be a standalone library that provides missing library
functions.
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Acked-by: David Sommerseth <davids@redhat.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'src/openvpn/syshead.h')
-rw-r--r-- | src/openvpn/syshead.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/openvpn/syshead.h b/src/openvpn/syshead.h index f9636f7..e8da88c 100644 --- a/src/openvpn/syshead.h +++ b/src/openvpn/syshead.h @@ -181,6 +181,10 @@ #include <selinux/selinux.h> #endif +#if defined(HAVE_LIBGEN_H) +#include <libgen.h> +#endif + #ifdef TARGET_SOLARIS #ifdef HAVE_STRINGS_H #include <strings.h> |