aboutsummaryrefslogtreecommitdiff
path: root/src/packet_cb.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2015-04-10 13:02:26 +0200
committerAndreas Schneider <asn@cryptomilk.org>2015-04-10 13:02:56 +0200
commit69c9cd029f487b682d82b82aa4e6833017387fcd (patch)
treef894534b07b82fba060cdc764a7e9a556b3ac8d4 /src/packet_cb.c
parentc699b9ca94ed49d09250058a6ec0e762f4ab2faa (diff)
downloadlibssh-69c9cd029f487b682d82b82aa4e6833017387fcd.tar.gz
libssh-69c9cd029f487b682d82b82aa4e6833017387fcd.tar.xz
libssh-69c9cd029f487b682d82b82aa4e6833017387fcd.zip
cmake: Check for arpa/inet.h header file
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/packet_cb.c')
-rw-r--r--src/packet_cb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/packet_cb.c b/src/packet_cb.c
index 5b759a3e..17e39a4c 100644
--- a/src/packet_cb.c
+++ b/src/packet_cb.c
@@ -24,7 +24,9 @@
#include "config.h"
#include <stdlib.h>
+#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
+#endif
#include "libssh/priv.h"
#include "libssh/buffer.h"