summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorpaul <paul>2005-11-14 14:05:35 +0000
committerpaul <paul>2005-11-14 14:05:35 +0000
commit76367ea9753aa9cef7cf5d3c954f55b5725f31da (patch)
treed3b6dc5bd84fb5db7db89cef1d5c1f0bc302f9ca /lib
parent190880dc790007a14911ef8c170af33a50a7a674 (diff)
[bug #231] check and include stdint.h, also add std=c99 to gcc CFLAGS
2005-11-14 Paul Jakma <paul.jakma@sun.com> * configure.ac: Tell gcc we like C99. [bug #231] Check and test for stdint.h. * lib/zebra.h: [bug #231] include stdint, if its there.
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog1
-rw-r--r--lib/zebra.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index b6407c4a..42934575 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -18,6 +18,7 @@
Keep track of number of consecutive runs, go into 'overdrive'
if queue is being flooded, we can't avoid making heavy use of
resources, better to use CPU than ever more RAM.
+ * zebra.h: [bug #231] include stdint, if its there.
2005-11-05 Paul Jakma <paul.jakma@sun.com>
diff --git a/lib/zebra.h b/lib/zebra.h
index 1739d771..0aa98a4f 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -82,6 +82,9 @@ typedef int socklen_t;
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif /* HAVE_LIMITS_H */
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif /* HAVE_STDINT_H */
/* machine dependent includes */
#ifdef SUNOS_5