summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/debug.c1
-rw-r--r--lib/radius/client.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/debug.c b/lib/debug.c
index 2c399a1..6d49d13 100644
--- a/lib/debug.c
+++ b/lib/debug.c
@@ -5,6 +5,7 @@
#include <config.h>
#endif
+#include <sys/types.h>
#include <stdio.h>
#include <assert.h>
#include <radius/client.h>
diff --git a/lib/radius/client.h b/lib/radius/client.h
index aefb40d..33c9033 100644
--- a/lib/radius/client.h
+++ b/lib/radius/client.h
@@ -48,6 +48,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <string.h>
#endif
#include <stdarg.h>
+#include <sys/types.h>
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif