summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2012-10-27 11:56:05 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2012-10-27 11:56:05 +0000
commit3ab4710bb547985a7f553abaa33c96e2f2cb445b (patch)
treec1fcc9c09783b5fab44b4a7e2987018832b47952 /lib
parenta265fe2b5efde3b6f2e30e71a4f91e674435dfb2 (diff)
include netinet/in.h to get htons & friends prototypes
Diffstat (limited to 'lib')
-rw-r--r--lib/libsndio/sio_aucat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libsndio/sio_aucat.c b/lib/libsndio/sio_aucat.c
index 8b8e9ae4225..bea40dce087 100644
--- a/lib/libsndio/sio_aucat.c
+++ b/lib/libsndio/sio_aucat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sio_aucat.c,v 1.11 2012/09/02 15:57:06 ratchov Exp $ */
+/* $OpenBSD: sio_aucat.c,v 1.12 2012/10/27 11:56:04 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -18,6 +18,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
+#include <netinet/in.h>
#include <errno.h>
#include <fcntl.h>