use __USE_W32API
Modified: trunk/reactos/drivers/input/sermouse/makefile
Modified: trunk/reactos/drivers/input/sermouse/sermouse.c
_____
Modified: trunk/reactos/drivers/input/sermouse/makefile
--- trunk/reactos/drivers/input/sermouse/makefile 2005-05-27
22:15:36 UTC (rev 15552)
+++ trunk/reactos/drivers/input/sermouse/makefile 2005-05-27
22:18:48 UTC (rev 15553)
@@ -9,7 +9,7 @@
TARGET_OBJECTS = \
sermouse.o
-TARGET_CFLAGS = -Wall -Werror
+TARGET_CFLAGS = -D__USE_W32API -Wall -Werror
#mouse.o - Old Serial mouse driver
_____
Modified: trunk/reactos/drivers/input/sermouse/sermouse.c
--- trunk/reactos/drivers/input/sermouse/sermouse.c 2005-05-27
22:15:36 UTC (rev 15552)
+++ trunk/reactos/drivers/input/sermouse/sermouse.c 2005-05-27
22:18:48 UTC (rev 15553)
@@ -10,6 +10,7 @@
/* INCLUDES
*****************************************************************/
+#include <stdio.h>
#include <ddk/ntddk.h>
#include <ddk/ntddmou.h>
Show replies by date