summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2001-06-29 05:49:26 +0000
committermillert <millert@openbsd.org>2001-06-29 05:49:26 +0000
commit982bf9887c01b4771b2995912b6bc52095a3293b (patch)
tree57184a2f2e6313f422bc63244e3f815e79837d59
parentBetter failure handling in the init routine (diff)
downloadwireguard-openbsd-982bf9887c01b4771b2995912b6bc52095a3293b.tar.xz
wireguard-openbsd-982bf9887c01b4771b2995912b6bc52095a3293b.zip
o We have uname(2)
o Include stdarg.h since we do varags stuff
-rw-r--r--libexec/telnetd/telnetd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libexec/telnetd/telnetd.h b/libexec/telnetd/telnetd.h
index c156a35c33c..8955fce4699 100644
--- a/libexec/telnetd/telnetd.h
+++ b/libexec/telnetd/telnetd.h
@@ -49,6 +49,8 @@
#define HAVE_FCNTL_H
#define HAVE_SYS_IOCTL_H
#define HAVE_UNISTD_H
+#define HAVE_SYS_UTSNAME_H
+#define HAVE_UNAME
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@@ -165,6 +167,10 @@
#include <arpa/telnet.h>
#endif
+#ifdef HAVE_STDARG_H
+#include <stdarg.h>
+#endif
+
#include "ext.h"
#ifdef SOCKS