summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mopd/otherOS/loop-linux2.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2005-12-21 01:40:22 +0000
committermillert <millert@openbsd.org>2005-12-21 01:40:22 +0000
commitae5feee3506f1aa5259009ab0dd200f8b10a80e8 (patch)
tree971a43b49d285f8c2fb3bf3dfddffcf524907723 /usr.sbin/mopd/otherOS/loop-linux2.c
parentmake alloc_stack take an optional base, preparation for stack attributes (diff)
downloadwireguard-openbsd-ae5feee3506f1aa5259009ab0dd200f8b10a80e8.tar.xz
wireguard-openbsd-ae5feee3506f1aa5259009ab0dd200f8b10a80e8.zip
Userland programs should include <errno.h> not <sys/errno.h>
OK deraadt@
Diffstat (limited to 'usr.sbin/mopd/otherOS/loop-linux2.c')
-rw-r--r--usr.sbin/mopd/otherOS/loop-linux2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/mopd/otherOS/loop-linux2.c b/usr.sbin/mopd/otherOS/loop-linux2.c
index f25c4d59c7a..c7128f380f2 100644
--- a/usr.sbin/mopd/otherOS/loop-linux2.c
+++ b/usr.sbin/mopd/otherOS/loop-linux2.c
@@ -23,9 +23,10 @@
*/
#ifndef LINT
-static const char rcsid[] = "$Id: loop-linux2.c,v 1.4 2003/12/01 00:56:51 avsm Exp $";
+static const char rcsid[] = "$Id: loop-linux2.c,v 1.5 2005/12/21 01:40:24 millert Exp $";
#endif
+#include <errno.h>
#include <stdlib.h>
#include <strings.h>
#include <unistd.h>
@@ -33,7 +34,6 @@ static const char rcsid[] = "$Id: loop-linux2.c,v 1.4 2003/12/01 00:56:51 avsm E
#include <sys/time.h>
#endif
#include <sys/ioctl.h>
-#include <sys/errno.h>
#include "os.h"
#include "common/common.h"