git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: texpect. Fix the build on Solaris.
[vlendec/samba-autobuild/.git]
/
lib
/
texpect
/
texpect.c
diff --git
a/lib/texpect/texpect.c
b/lib/texpect/texpect.c
index 75a32f4bed29d728e64463315f0c2668c591aaab..9256b5ee31f7833ab8bf64a56ad4c4478756f918 100644
(file)
--- a/
lib/texpect/texpect.c
+++ b/
lib/texpect/texpect.c
@@
-52,7
+52,12
@@
#endif /* STREAMPTY */
#include <popt.h>
+
+#ifdef HAVE_ERR_H
#include <err.h>
+#else
+#include <ccan/err/err.h>
+#endif
struct command {
enum { CMD_EXPECT = 0, CMD_SEND, CMD_PASSWORD } type;