aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2020-04-09 11:46:18 +0200
committerAndreas Schneider <asn@cryptomilk.org>2020-05-05 14:32:31 +0200
commit98c91e68fa8c260dba449a646d8d96d149235ed9 (patch)
tree418c5e0a2ee71941798038b9b9130790aa86edf0
parent078cb4c6f359bd919c79665863a669e5e9653e1c (diff)
downloadlibssh-98c91e68fa8c260dba449a646d8d96d149235ed9.tar.gz
libssh-98c91e68fa8c260dba449a646d8d96d149235ed9.tar.xz
libssh-98c91e68fa8c260dba449a646d8d96d149235ed9.zip
examples: Add missing includes
Fixes: T225 Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> (cherry picked from commit 58d53f1397c9f4af0748a07aef16c15bbd724038)
-rw-r--r--examples/sshd_direct-tcpip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/sshd_direct-tcpip.c b/examples/sshd_direct-tcpip.c
index 36a15a5b..a6b217a8 100644
--- a/examples/sshd_direct-tcpip.c
+++ b/examples/sshd_direct-tcpip.c
@@ -27,6 +27,8 @@ clients must be made or how a client should react.
#ifdef HAVE_ARGP_H
#include <argp.h>
#endif
+#include <sys/types.h>
+#include <sys/socket.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>