summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-09-11 11:25:04 +0000
committerguenther <guenther@openbsd.org>2015-09-11 11:25:04 +0000
commitc00b7bc478c91649ff1abccb909d52964349eb0e (patch)
tree81906294eea22fcd20b53f559e71d29bb86b1a2c /lib/libc
parentreadgptlabel() is called from readdoslabel() so there is no need (diff)
downloadwireguard-openbsd-c00b7bc478c91649ff1abccb909d52964349eb0e.tar.xz
wireguard-openbsd-c00b7bc478c91649ff1abccb909d52964349eb0e.zip
Prefer <fcntl.h> over <sys/fcntl.h>
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/termios/tcflush.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/termios/tcflush.c b/lib/libc/termios/tcflush.c
index c35801c55f7..36b29d6f266 100644
--- a/lib/libc/termios/tcflush.c
+++ b/lib/libc/termios/tcflush.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcflush.c,v 1.5 2005/08/05 13:03:00 espie Exp $ */
+/* $OpenBSD: tcflush.c,v 1.6 2015/09/11 11:25:04 guenther Exp $ */
/*-
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/ioctl.h>
-#include <sys/fcntl.h>
+#include <fcntl.h>
#include <termios.h>
#include <errno.h>