summaryrefslogtreecommitdiff
path: root/lib/texpect
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2014-10-09 14:34:02 +0200
committerKarolin Seeger <kseeger@samba.org>2015-03-09 22:01:08 +0100
commit3ad9fc5a979cdfc9aa22e53eab6ed5138d73b1e2 (patch)
treeb97e873a0d60950306068fa0babc6690a5a6fd9b /lib/texpect
parentb3d812b9278649e242460e36127fb60c07637120 (diff)
downloadsamba-3ad9fc5a979cdfc9aa22e53eab6ed5138d73b1e2.tar.gz
lib/texpect: portability fix, include signal.h
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit ccb0d9d6169594e8dd1c8935c9dfec51ee7125c4)
Diffstat (limited to 'lib/texpect')
-rw-r--r--lib/texpect/texpect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/texpect/texpect.c b/lib/texpect/texpect.c
index c1a6a992d72..ac889792b38 100644
--- a/lib/texpect/texpect.c
+++ b/lib/texpect/texpect.c
@@ -62,6 +62,7 @@
#include <popt.h>
#include <errno.h>
#include <err.h>
+#include <signal.h>
struct command {
enum { CMD_EXPECT = 0, CMD_SEND, CMD_PASSWORD } type;