Patch by Samuel Rodriguez Perez (slightly modified): Make the new
bfs_shell build on FreeBSD. ioctl() is defined in a non-standard header. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21032 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
ed1589a568
commit
047b4d3cc8
@ -19,7 +19,12 @@
|
||||
#ifdef __BEOS__
|
||||
# include <Drivers.h>
|
||||
#else
|
||||
# include <stropts.h> // the correct place of definition for ioctl()
|
||||
# if defined(HAIKU_HOST_PLATFORM_FREEBSD)
|
||||
# incluce <sys/ioctl.h>
|
||||
# else
|
||||
// the (POSIX) correct place of definition for ioctl()
|
||||
# include <stropts.h>
|
||||
# endif
|
||||
|
||||
# if defined(HAIKU_HOST_PLATFORM_LINUX)
|
||||
# include <linux/hdreg.h>
|
||||
|
Loading…
Reference in New Issue
Block a user