diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2012-10-27 11:54:28 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2012-10-27 11:54:28 +0000 |
commit | a265fe2b5efde3b6f2e30e71a4f91e674435dfb2 (patch) | |
tree | c1fbe4a865b6753602003ccd6dedd1fdfe800ead /usr.bin/aucat | |
parent | 23d92c203a95142d6023f7853b040c7fd7b89bd3 (diff) |
include netinet/in.h to get htons & friends prototypes
Diffstat (limited to 'usr.bin/aucat')
-rw-r--r-- | usr.bin/aucat/sock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/aucat/sock.c b/usr.bin/aucat/sock.c index f42487b7018..3ac08e6e5a4 100644 --- a/usr.bin/aucat/sock.c +++ b/usr.bin/aucat/sock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sock.c,v 1.64 2012/04/11 21:17:32 ratchov Exp $ */ +/* $OpenBSD: sock.c,v 1.65 2012/10/27 11:54:27 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -17,6 +17,7 @@ #include <sys/types.h> #include <sys/socket.h> +#include <netinet/in.h> #include <unistd.h> #include <stdio.h> #include <stdlib.h> |