diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-12-02 08:45:01 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-12-02 08:45:01 +0100 |
commit | fa5808b15e9dd1665a2960109e6e124812675527 (patch) | |
tree | 89fae85dfdee40bc8b27796a0a255d7818d6075a | |
parent | 0ece5135fef56dbd0d94957c334655a57adb7212 (diff) | |
download | amtterm-fa5808b15e9dd1665a2960109e6e124812675527.tar.gz |
Fix build on freebsd
$FreeBSD: comms/amtterm/files/patch-redir-c 300895 2012-07-14 12:56:14Z beat $
From http://people.freebsd.org/~kib/misc/amtterm.1.patch
-rw-r--r-- | redir.c | 4 | ||||
-rw-r--r-- | tcp.c | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -18,6 +18,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include <sys/types.h> +#include <sys/socket.h> +#include <netinet/in.h> +#include <arpa/inet.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> @@ -18,6 +18,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include <sys/types.h> +#include <sys/socket.h> +#include <netinet/in.h> +#include <arpa/inet.h> #include <stdio.h> #include <stdlib.h> #include <errno.h> |