From b0b6878c97c307f4c6d43ca904a3b47703c2f129 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 3 Sep 2008 00:39:45 +0000 Subject: [PATCH] also seems to be the standard Linux place for the ioctl() prototype. Apparently some Linuxes discarded the header which POSIX demands. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27293 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tools/fs_shell/unistd.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/tools/fs_shell/unistd.cpp b/src/tools/fs_shell/unistd.cpp index e5cf6e04bb..f4aec0d9a1 100644 --- a/src/tools/fs_shell/unistd.cpp +++ b/src/tools/fs_shell/unistd.cpp @@ -31,15 +31,14 @@ # elif defined(HAIKU_HOST_PLATFORM_CYGWIN) # include # include +# elif defined(HAIKU_HOST_PLATFORM_LINUX) +# include +# include +# include # else // the (POSIX) correct place of definition for ioctl() # include # endif - -# if defined(HAIKU_HOST_PLATFORM_LINUX) -# include -# include -# endif #endif