Description: fix FTBFS in kFreeBSD
Author: Mattia Rizzolo <mattia@debian.org>
Bug-Debian: https://bugs.debian.org/754645
Forwarded: no
Last-Update: 2016-05-29

--- a/src/xstd/NetAddr.cc
+++ b/src/xstd/NetAddr.cc
@@ -6,6 +6,7 @@
 #include "xstd/xstd.h"
 
 #include <ctype.h>
+#include <stdint.h>
 #include "xstd/h/iostream.h"
 
 #include "xstd/Assert.h"
--- a/configure.in
+++ b/configure.in
@@ -634,6 +634,7 @@
 AH_TEMPLATE(HAVE_TYPE_IN6_ALIASREQ)
 AC_CACHE_CHECK(for in6_aliasreq, ac_cv_have_type_in6_aliasreq, [
 	AC_TRY_COMPILE([
+		#include <stdint.h>
 		#include <sys/types.h>
 		#include <sys/socket.h>
 		#ifdef HAVE_NET_IF_H
--- a/src/xstd/h/net/if.h
+++ b/src/xstd/h/net/if.h
@@ -3,6 +3,8 @@
  * Copyright 2003-2011 The Measurement Factory
  * Licensed under the Apache License, Version 2.0 */
 
+#include <stdint.h>
+
 #ifndef POLYGRAPH__XSTD_H_NET_IF_H
 #define POLYGRAPH__XSTD_H_NET_IF_H
 
