kismet: fix build with musl

Without these patches kismet does not build with musl.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Hauke Mehrtens 2015-07-12 20:40:28 +02:00
parent 71f5ef9b28
commit ac1ad5c387
2 changed files with 24 additions and 4 deletions

View file

@ -1,9 +1,7 @@
diff --git a/configure b/configure
index 6936a47..9a85269 100755
--- a/configure
+++ b/configure
@@ -6980,9 +6980,6 @@ else
fi
@@ -5456,9 +5456,6 @@ fi
-# Add additional cflags since some distros bury panel.h

View file

@ -0,0 +1,22 @@
--- a/configfile.cc
+++ b/configfile.cc
@@ -24,6 +24,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
+#include <time.h>
#include "configfile.h"
#include "util.h"
--- a/dumpfile_tuntap.cc
+++ b/dumpfile_tuntap.cc
@@ -20,8 +20,8 @@
#include <errno.h>
-#include "dumpfile_tuntap.h"
#include "ifcontrol.h"
+#include "dumpfile_tuntap.h"
#include "ipc_remote.h"
#ifndef SYS_CYGWIN