summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-08-05 11:11:49 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-08-05 11:11:49 +0200
commit25192f6f7825b1908e825d0fca55db88610038e1 (patch)
tree4322b345080fee15da3f7033ff6aa0ef0dbac98b /configure
parent4d178e2c0ce19851642045f1661664a9d0f5336f (diff)
mausezahn: libcli: add sys/time.h for older libcli versions
Older versions of libcli lack an include in libcli.h. [1] fixed the configure script to not fail in in the test [2], and an include into cli.h was added as well for the main mausezahn build. [1] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-analyzer/netsniff-ng/files/netsniff-ng-0.5.8-libcli-test.patch?revision=1.1&view=markup [2] http://b-4.xmw.de/var/log/portage/build/net-analyzer/netsniff-ng-0.5.8_rc2:20130805-055918.log Reported-by: Michael Weber <michael@xmw.de> Suggested-by: Michael Weber <michael@xmw.de> Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 15b2705..4d6b284 100755
--- a/configure
+++ b/configure
@@ -463,6 +463,7 @@ check_libcli()
echo -n "[*] Checking libcli ... "
cat > $TMPDIR/clitest.c << EOF
+#include <sys/time.h>
#include <libcli.h>
void main(void)