summaryrefslogtreecommitdiffstats
path: root/kscd/libwm/cddb.c
diff options
context:
space:
mode:
Diffstat (limited to 'kscd/libwm/cddb.c')
-rw-r--r--kscd/libwm/cddb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kscd/libwm/cddb.c b/kscd/libwm/cddb.c
index e972ef0d..1d6e7026 100644
--- a/kscd/libwm/cddb.c
+++ b/kscd/libwm/cddb.c
@@ -41,6 +41,7 @@
#include <sys/time.h>
#include <sys/socket.h>
#include <netinet/in.h>
+#include <arpa/inet.h>
#include <netdb.h>
#include "include/wm_config.h"
@@ -234,7 +235,6 @@ connect_open(void)
static struct in_addr defaddr;
static char *alist[1];
static char namebuf[128];
- int inet_addr();
defaddr.s_addr = inet_addr(host);
if ((int) defaddr.s_addr == -1)