summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2009-06-21 22:22:08 +1000
committerDarren Tucker <dtucker@zip.com.au>2009-06-21 22:22:08 +1000
commit828c96d48fce9040a75b0e9e66ecd02c96dee11e (patch)
tree1721e3ed67b1a141753199ed81e84ac03e99ab4d
parent64cee36713d8094af37e3e2e5a7d38a8d25dff80 (diff)
- (dtucker) [roaming_common.c roaming_dummy.c] Wrap #include <inttypes.h> in
ifdef.
-rw-r--r--ChangeLog2
-rw-r--r--roaming_common.c4
-rw-r--r--roaming_dummy.c2
3 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5635d7aa..c801521b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -108,6 +108,8 @@
- (dtucker) [auth2-jpake.c auth2.c canohost.h session.c] Whitespace and
header-order changes to reduce diff vs OpenBSD.
- (dtucker) [servconf.c sshd.c] More whitespace sync.
+ - (dtucker) [roaming_common.c roaming_dummy.c] Wrap #include <inttypes.h> in
+ ifdef.
20090616
- (dtucker) [configure.ac defines.h] Bug #1607: handle the case where fsid_t
diff --git a/roaming_common.c b/roaming_common.c
index 06554252..14dd5808 100644
--- a/roaming_common.c
+++ b/roaming_common.c
@@ -15,12 +15,16 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "includes.h"
+
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/uio.h>
#include <errno.h>
+#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
+#endif
#include <stdarg.h>
#include <unistd.h>
diff --git a/roaming_dummy.c b/roaming_dummy.c
index f081bffe..45c4008e 100644
--- a/roaming_dummy.c
+++ b/roaming_dummy.c
@@ -20,6 +20,8 @@
* support roaming.
*/
+#include "includes.h"
+
#include <sys/types.h>
#include <unistd.h>