summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure1
-rw-r--r--staging/cli.h1
2 files changed, 2 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)
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"