aboutsummaryrefslogtreecommitdiffstats
path: root/internal.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2019-04-14 14:42:27 +0200
committerMattias Andrée <maandree@kth.se>2019-04-14 14:42:27 +0200
commit5762e83f854fb15c9881b720fdef61f367787149 (patch)
tree7cdff2c12dd68001e47b5209ddbbd02a2b761248 /internal.h
parentAdd liberror.h.0 (diff)
downloadliberror-1.0.tar.gz
liberror-1.0.tar.bz2
liberror-1.0.tar.xz
Add support for h_errno and getaddrinfo errors1.0
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index db33be9..3e22586 100644
--- a/internal.h
+++ b/internal.h
@@ -1,10 +1,12 @@
/* See LICENSE file for copyright and license details. */
#include "liberror.h"
+#include <sys/socket.h>
#include <alloca.h>
#include <errno.h>
#include <inttypes.h>
#include <limits.h>
+#include <netdb.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>