summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-04-23 13:06:58 -0700
committerEric Anholt <eric@anholt.net>2008-04-23 14:25:54 -0700
commit8c741ed54e1be63528e79222b600f37506c6d6d2 (patch)
tree1ae6b5b05386e36935d3be808092420b3df5e8e4 /shared-core
parentc1fec43b553ea93460b58995a1229e84d8bb45b4 (diff)
Add pread/pwrite ioctls to mmfs.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/mmfs.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/shared-core/mmfs.h b/shared-core/mmfs.h
index bc7e991f..e0a4f25b 100644
--- a/shared-core/mmfs.h
+++ b/shared-core/mmfs.h
@@ -25,7 +25,12 @@
*
*/
-#include <sys/ioctl.h>
+#ifdef __linux__
+#include <asm/ioctl.h>
+#else
+#include <sys/types.h>
+#include <sys/ioccom.h>
+#endif
/** @file mmfs.h
* This file provides ioctl and ioctl argument definitions for using the