diff --git a/src/tools/fs_shell/unistd.cpp b/src/tools/fs_shell/unistd.cpp index f9964d21f1..9a08884a51 100644 --- a/src/tools/fs_shell/unistd.cpp +++ b/src/tools/fs_shell/unistd.cpp @@ -19,7 +19,12 @@ #ifdef __BEOS__ # include #else -# include // the correct place of definition for ioctl() +# if defined(HAIKU_HOST_PLATFORM_FREEBSD) +# incluce +# else + // the (POSIX) correct place of definition for ioctl() +# include +# endif # if defined(HAIKU_HOST_PLATFORM_LINUX) # include