diff options
Diffstat (limited to 'hwaccess.c')
-rw-r--r-- | hwaccess.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hwaccess.c b/hwaccess.c index 8a4a50a73..5b18c32e3 100644 --- a/hwaccess.c +++ b/hwaccess.c @@ -35,14 +35,13 @@ #include <stdint.h> #include <string.h> #include <stdlib.h> +#include <errno.h> #include <sys/types.h> #if !defined (__DJGPP__) && !defined(__LIBPAYLOAD__) +/* No file access needed/possible to get hardware access permissions. */ #include <unistd.h> #include <fcntl.h> #endif -#if !defined (__DJGPP__) -#include <errno.h> -#endif #include "flash.h" #include "hwaccess.h" |