sparc also needs <machine/param.h> for CPU_SUN*.
authormiod <miod@openbsd.org>
Mon, 19 Jan 2015 18:01:11 +0000 (18:01 +0000)
committermiod <miod@openbsd.org>
Mon, 19 Jan 2015 18:01:11 +0000 (18:01 +0000)
usr.sbin/eeprom/main.c

index 68fec1a..a73acb1 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: main.c,v 1.20 2015/01/16 06:40:16 deraadt Exp $       */
+/*     $OpenBSD: main.c,v 1.21 2015/01/19 18:01:11 miod Exp $  */
 /*     $NetBSD: main.c,v 1.3 1996/05/16 16:00:55 thorpej Exp $ */
 
 /*-
@@ -42,6 +42,7 @@
 #include <sys/sysctl.h>
 #include <machine/cpu.h>
 #include <machine/eeprom.h>
+#include <machine/param.h>
 #endif /* __sparc__ && !__sparc64__ */
 
 #include <machine/openpromio.h>