inetd: fix build failure in Android
authorTias Guns <tias@ulyssis.org>
Sun, 10 Jun 2012 12:19:01 +0000 (14:19 +0200)
committerMike Frysinger <vapier@gentoo.org>
Sat, 20 Oct 2012 19:28:42 +0000 (15:28 -0400)
Signed-off-by: Tias Guns <tias@ulyssis.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
(cherry picked from commit 64f763b42a43cbf36e401690ff6767c25575e520)

networking/inetd.c

index 26b66992d47e1b6cc803ed5d2a95d037c502b17f..1308d74c7436110af84736bde60d23be77d2a02d 100644 (file)
 //usage:     "\n               (default: 0 - disabled)"
 
 #include <syslog.h>
+#include <sys/socket.h> /* un.h may need this */
 #include <sys/un.h>
 
 #include "libbb.h"