summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2014-09-08 07:21:41 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2014-09-08 07:21:41 +0000
commit1427a06d864323522282ec9c44fba5c42467e200 (patch)
treede3a881776d5bbd5b1b010b42099df92af77d872
parent6dedd1c1377df92a4dcc973941a85ea0e4af7525 (diff)
Don't include <sys/types.h>; we already include <sys/param.h>.
Add missing <sys/errno.h> and <sys/device.h>. Makes a sparc64 kernel compile again.
-rw-r--r--sys/dev/ic/acx.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/acx.c b/sys/dev/ic/acx.c
index 750607bc1a5..de3e0bbeaa1 100644
--- a/sys/dev/ic/acx.c
+++ b/sys/dev/ic/acx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acx.c,v 1.105 2014/09/06 05:41:35 jsg Exp $ */
+/* $OpenBSD: acx.c,v 1.106 2014/09/08 07:21:40 kettenis Exp $ */
/*
* Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org>
@@ -97,7 +97,8 @@
#include <sys/socket.h>
#include <sys/sockio.h>
#include <sys/ioctl.h>
-#include <sys/types.h>
+#include <sys/errno.h>
+#include <sys/device.h>
#include <machine/bus.h>
#include <machine/endian.h>