mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
22 lines
584 B
Diff
22 lines
584 B
Diff
diff --git a/prtconf-1.3/eeprom.c b/prtconf-1.3/eeprom.c
|
|
index b801f95..b15e74c 100644
|
|
--- a/prtconf-1.3/eeprom.c
|
|
+++ b/prtconf-1.3/eeprom.c
|
|
@@ -33,4 +33,6 @@
|
|
#include <dirent.h>
|
|
#include <pwd.h>
|
|
+#include <ctype.h> /* isdigit() */
|
|
+#include <sys/ioctl.h> /* ioctl() */
|
|
|
|
#include <asm/openpromio.h>
|
|
diff --git a/prtconf-1.3/prtconf.c b/prtconf-1.3/prtconf.c
|
|
index b9d8c89..c9b54be 100644
|
|
--- a/prtconf-1.3/prtconf.c
|
|
+++ b/prtconf-1.3/prtconf.c
|
|
@@ -30,4 +30,5 @@
|
|
#include <sys/stat.h>
|
|
#include <sys/utsname.h>
|
|
+#include <sys/ioctl.h> /* ioctl() */
|
|
|
|
#include <asm/openpromio.h>
|