aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcarmen rocco <ix9@users.sourceforge.net>2004-08-23 03:48:57 +0000
committercarmen rocco <ix9@users.sourceforge.net>2004-08-23 03:48:57 +0000
commit194aff9548c94e8790eea7bdeb649284585c1815 (patch)
tree9ef912d8e26b0cc10ac1c72f68a7cfc34d2a469d
parent2f90ef564c3c287f38d6c86e98024cbeb9c1075c (diff)
hd-clear (NT)
svn path=/trunk/externals/hcs/; revision=1971
-rw-r--r--ifeel.c6
-rw-r--r--linuxhid.h5
2 files changed, 7 insertions, 4 deletions
diff --git a/ifeel.c b/ifeel.c
index b1caf94..3c3ca9c 100644
--- a/ifeel.c
+++ b/ifeel.c
@@ -28,9 +28,7 @@
*/
#include "m_pd.h"
-
#include <unistd.h>
-#include <sys/ioctl.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
@@ -39,6 +37,10 @@
#include <string.h>
#include <time.h>
+#ifndef NT
+#include <sys/ioctl.h>
+#endif
+
#include "ifeel.h"
diff --git a/linuxhid.h b/linuxhid.h
index 52bc815..08ed26e 100644
--- a/linuxhid.h
+++ b/linuxhid.h
@@ -9,14 +9,15 @@
#ifdef __gnu_linux__
#include <linux/input.h>
#endif
+#ifndef NT
+#include <sys/ioctl.h>
+#endif
#include <sys/stat.h>
-
#include <string.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/fcntl.h>
-#include <sys/ioctl.h>
#include <unistd.h>