You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
584 B

  1. diff --git a/prtconf-1.3/eeprom.c b/prtconf-1.3/eeprom.c
  2. index b801f95..b15e74c 100644
  3. --- a/prtconf-1.3/eeprom.c
  4. +++ b/prtconf-1.3/eeprom.c
  5. @@ -33,4 +33,6 @@
  6. #include <dirent.h>
  7. #include <pwd.h>
  8. +#include <ctype.h> /* isdigit() */
  9. +#include <sys/ioctl.h> /* ioctl() */
  10. #include <asm/openpromio.h>
  11. diff --git a/prtconf-1.3/prtconf.c b/prtconf-1.3/prtconf.c
  12. index b9d8c89..c9b54be 100644
  13. --- a/prtconf-1.3/prtconf.c
  14. +++ b/prtconf-1.3/prtconf.c
  15. @@ -30,4 +30,5 @@
  16. #include <sys/stat.h>
  17. #include <sys/utsname.h>
  18. +#include <sys/ioctl.h> /* ioctl() */
  19. #include <asm/openpromio.h>