Skip to content

Instantly share code, notes, and snippets.

@tuxillo
Created July 3, 2014 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tuxillo/80d6814ff5cf6f94f8c4 to your computer and use it in GitHub Desktop.
Save tuxillo/80d6814ff5cf6f94f8c4 to your computer and use it in GitHub Desktop.
diff --git a/src/gssapi.c b/src/gssapi.c
index da35899..30510bd 100644
--- a/src/gssapi.c
+++ b/src/gssapi.c
@@ -27,6 +27,7 @@
#include <unistd.h>
#endif
+#include <arpa/inet.h>
#include <gssapi/gssapi.h>
#include <libssh/gssapi.h>
diff --git a/src/packet_cb.c b/src/packet_cb.c
index a10dd1a..5b759a3 100644
--- a/src/packet_cb.c
+++ b/src/packet_cb.c
@@ -24,6 +24,7 @@
#include "config.h"
#include <stdlib.h>
+#include <arpa/inet.h>
#include "libssh/priv.h"
#include "libssh/buffer.h"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment