summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-31 18:01:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-31 18:01:03 +0000
commit61564dbec65094a81abfe2fd48940153f0e75a05 (patch)
tree46ee765d1ba7adcaec577b7d6f63a67ed6b90a6b /sys/dev/pcmcia
parent0466c398c9d9eec74048488f4e84a191bbb73cf5 (diff)
clean for kernel and userland
Diffstat (limited to 'sys/dev/pcmcia')
-rw-r--r--sys/dev/pcmcia/pcmcia_conf.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pcmcia/pcmcia_conf.c b/sys/dev/pcmcia/pcmcia_conf.c
index f5f614d2051..754ae667371 100644
--- a/sys/dev/pcmcia/pcmcia_conf.c
+++ b/sys/dev/pcmcia/pcmcia_conf.c
@@ -1,4 +1,4 @@
-/* $Id: pcmcia_conf.c,v 1.3 1996/05/03 07:59:41 deraadt Exp $ */
+/* $Id: pcmcia_conf.c,v 1.4 1996/08/31 18:01:02 deraadt Exp $ */
/*
* Copyright (c) 1996 John T. Kohl. All rights reserved.
* Copyright (c) 1994 Stefan Grefen. All rights reserved.
@@ -35,7 +35,11 @@
* This file is shared between user and kernel space, so be careful with the
* coding conventions.
*/
+#ifdef _KERNEL
+#include <sys/errno.h>
+#else
#include <errno.h>
+#endif
#include <sys/types.h>
#include <sys/file.h>
#include <sys/ioctl.h>