summaryrefslogtreecommitdiffstats
path: root/src/openvpn/syshead.h
diff options
context:
space:
mode:
authorAlon Bar-Lev <alon.barlev@gmail.com>2012-04-27 15:09:15 +0300
committerDavid Sommerseth <davids@redhat.com>2012-04-28 00:09:46 +0200
commit4029971240b6274b9b30e76ff74c7f689d7d9750 (patch)
tree02ee41e617185102cd9c79eae4e2dc172b4e863c /src/openvpn/syshead.h
parent34091048af1ba94e8bf2049354610d16f8bb3d4c (diff)
downloadopenvpn-4029971240b6274b9b30e76ff74c7f689d7d9750.tar.gz
openvpn-4029971240b6274b9b30e76ff74c7f689d7d9750.tar.xz
openvpn-4029971240b6274b9b30e76ff74c7f689d7d9750.zip
build: use stdbool.h if available
If stdbool.h is available use it, otherwise create emulation. basic.h defines a type 'bool' that conflicts with the altivec keyword bool which has to be fixed upstream, see bugs[1][2]. [1] https://bugs.gentoo.org/show_bug.cgi?id=293840 [2] https://bugs.gentoo.org/show_bug.cgi?id=297854 Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> Acked-by: David Sommerseth <davids@redhat.com> Message-Id: 1335528555-13225-1-git-send-email-alon.barlev@gmail.com URL: http://article.gmane.org/gmane.network.openvpn.devel/6363 Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'src/openvpn/syshead.h')
-rw-r--r--src/openvpn/syshead.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/openvpn/syshead.h b/src/openvpn/syshead.h
index 6f9422c..3337764 100644
--- a/src/openvpn/syshead.h
+++ b/src/openvpn/syshead.h
@@ -26,6 +26,7 @@
#define SYSHEAD_H
#include "compat.h"
+#include "compat-stdbool.h"
/* branch prediction hints */
#if defined(__GNUC__)