summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authornaddy <naddy@openbsd.org>2013-12-17 17:55:59 +0000
committernaddy <naddy@openbsd.org>2013-12-17 17:55:59 +0000
commit259c74af8a831cb217c6404c2ad3d65d66b183a3 (patch)
treec8cb134c7602bc2910afb31d0a97293cebab969f /lib/libc
parentctype cleanups. Repeated re-audits of this sensitive area by okan and (diff)
downloadwireguard-openbsd-259c74af8a831cb217c6404c2ad3d65d66b183a3.tar.xz
wireguard-openbsd-259c74af8a831cb217c6404c2ad3d65d66b183a3.zip
fix build; from deraadt@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/termios/tcgetsid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/termios/tcgetsid.c b/lib/libc/termios/tcgetsid.c
index 52278b0c6ba..a13b8748d8e 100644
--- a/lib/libc/termios/tcgetsid.c
+++ b/lib/libc/termios/tcgetsid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcgetsid.c,v 1.1 2013/12/17 16:31:36 millert Exp $ */
+/* $OpenBSD: tcgetsid.c,v 1.2 2013/12/17 17:55:59 naddy Exp $ */
/*-
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
@@ -29,6 +29,7 @@
*/
#include <sys/ioctl.h>
+#include <sys/types.h>
#include <termios.h>
pid_t