summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/include/ntp_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/include/ntp_types.h')
-rw-r--r--contrib/ntp/include/ntp_types.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/ntp/include/ntp_types.h b/contrib/ntp/include/ntp_types.h
index 7ff3125..969b325 100644
--- a/contrib/ntp/include/ntp_types.h
+++ b/contrib/ntp/include/ntp_types.h
@@ -35,6 +35,13 @@
# define FALSE 0
#endif
+#ifdef HAVE_STDBOOL_H
+# include <stdbool.h>
+#else
+typedef int bool; /* Can't use enum TRUE/FALSE because of above */
+#endif
+
+
/*
* This is another naming conflict.
* On NetBSD for MAC the macro "mac" is defined as 1
OpenPOWER on IntegriCloud