diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-08-05 11:11:49 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-08-05 11:11:49 +0200 |
commit | 25192f6f7825b1908e825d0fca55db88610038e1 (patch) | |
tree | 4322b345080fee15da3f7033ff6aa0ef0dbac98b | |
parent | 4d178e2c0ce19851642045f1661664a9d0f5336f (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>
-rwxr-xr-x | configure | 1 | ||||
-rw-r--r-- | staging/cli.h | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -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) diff --git a/staging/cli.h b/staging/cli.h index c69caa8..5762de4 100644 --- a/staging/cli.h +++ b/staging/cli.h @@ -21,6 +21,7 @@ #ifndef __MAUSEZAHN_CLI__ #define __MAUSEZAHN_CLI__ +#include <sys/time.h> #include <libcli.h> #include "mops.h" |