diff --git a/ChangeLog b/ChangeLog index fe5ad4021..ae1c0ba47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-09-24 Vladimir Serbinenko + + * grub-core/kern/emu/hostdisk_unix.c: Declare AROS as non-unix. + * grub-core/kern/emu/hostfs.c: Likewise. + * util/getroot_unix.c: Likewise. + 2013-09-24 Vladimir Serbinenko * include/grub/emu/hostdisk.h (GRUB_FD_STAT_IS_FUNTIONAL): New define. diff --git a/grub-core/kern/emu/hostdisk_unix.c b/grub-core/kern/emu/hostdisk_unix.c index e02256e82..96b517e07 100644 --- a/grub-core/kern/emu/hostdisk_unix.c +++ b/grub-core/kern/emu/hostdisk_unix.c @@ -43,7 +43,7 @@ #include #include -#if !defined (__CYGWIN__) && !defined (__MINGW32__) +#if !defined (__CYGWIN__) && !defined (__MINGW32__) && !defined (__AROS__) #ifdef __linux__ # include /* ioctl */ diff --git a/grub-core/kern/emu/hostfs.c b/grub-core/kern/emu/hostfs.c index ba309489f..818a29e6c 100644 --- a/grub-core/kern/emu/hostfs.c +++ b/grub-core/kern/emu/hostfs.c @@ -132,7 +132,7 @@ grub_hostfs_open (struct grub_file *file, const char *name) file->data = data; -#if defined (__CYGWIN__) || defined (__MINGW32__) +#if defined (__CYGWIN__) || defined (__MINGW32__) || defined (__AROS__) fseek (f, 0, SEEK_END); file->size = ftello (f); fseek (f, 0, SEEK_SET); diff --git a/util/getroot_unix.c b/util/getroot_unix.c index ac82487ca..619bfefbc 100644 --- a/util/getroot_unix.c +++ b/util/getroot_unix.c @@ -39,7 +39,7 @@ #include #include -#if !defined (__MINGW32__) && !defined (__CYGWIN__) +#if !defined (__MINGW32__) && !defined (__CYGWIN__) && !defined (__AROS__) #ifdef __linux__ #include /* ioctl */