diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2007-09-04 23:28:27 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2007-09-04 23:28:27 +0000 |
commit | ed2c81c020cc88cbbf163e0b0ea1b6bca2fbf8cb (patch) | |
tree | f435763744f8a6a4ceb1ebccde900efde544e88d /usr.sbin/eeprom/ophandlers.c | |
parent | 47466b70b139eca58302a1af773a0e76c0a280a0 (diff) |
add support to print the derivated tree from the OpenPROM (alas devinfo or
prtconf); ok kettenis@.
thanks to the various people who helped me test in different sparc* machines.
Diffstat (limited to 'usr.sbin/eeprom/ophandlers.c')
-rw-r--r-- | usr.sbin/eeprom/ophandlers.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/eeprom/ophandlers.c b/usr.sbin/eeprom/ophandlers.c index ec8cddcd218..3fb666d7cbb 100644 --- a/usr.sbin/eeprom/ophandlers.c +++ b/usr.sbin/eeprom/ophandlers.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ophandlers.c,v 1.9 2005/03/06 16:12:48 miod Exp $ */ +/* $OpenBSD: ophandlers.c,v 1.10 2007/09/04 23:28:26 fgsch Exp $ */ /* $NetBSD: ophandlers.c,v 1.2 1996/02/28 01:13:30 thorpej Exp $ */ /*- @@ -46,6 +46,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <unistd.h> #include <vis.h> #include <machine/eeprom.h> |