fixed header usage. Please avoid using windows.h
Modified: trunk/rosapps/sysutils/chklib.c
Modified: trunk/rosapps/sysutils/ldd.c
Modified: trunk/rosapps/sysutils/wmain.c
_____
Modified: trunk/rosapps/sysutils/chklib.c
--- trunk/rosapps/sysutils/chklib.c 2005-04-05 19:19:44 UTC (rev
14516)
+++ trunk/rosapps/sysutils/chklib.c 2005-04-05 19:22:30 UTC (rev
14517)
@@ -1,4 +1,4 @@
-/* $Id: chklib.c,v 1.2 2000/02/29 23:57:46 ea Exp $
+/* $Id$
*
* chklib.c
*
@@ -27,10 +27,14 @@
*
*/
//#define UNICODE
-#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
+
+#include <stdarg.h>
+#include <windef.h>
+#include <winbase.h>
+
#include "win32err.h"
#ifdef DISPLAY_VERSION
_____
Modified: trunk/rosapps/sysutils/ldd.c
--- trunk/rosapps/sysutils/ldd.c 2005-04-05 19:19:44 UTC (rev
14516)
+++ trunk/rosapps/sysutils/ldd.c 2005-04-05 19:22:30 UTC (rev
14517)
@@ -1,4 +1,4 @@
-/* $Id: ldd.c,v 1.3 2001/01/13 18:17:17 ea Exp $
+/* $Id$
*
* FILE : ldd.c
* AUTHOR: Emanuele ALIBERTI
@@ -6,10 +6,14 @@
* DESC : List DOS devices, i.e. symbolic links created
* in the \?? object manager's name space.
*/
-#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
+#include <stdarg.h>
+#include <windef.h>
+#include <winbase.h>
+
+
#include <reactos/buildno.h>
#include "win32err.h"
_____
Modified: trunk/rosapps/sysutils/wmain.c
--- trunk/rosapps/sysutils/wmain.c 2005-04-05 19:19:44 UTC (rev
14516)
+++ trunk/rosapps/sysutils/wmain.c 2005-04-05 19:22:30 UTC (rev
14517)
@@ -1,10 +1,13 @@
-/* $Id: wmain.c,v 1.1 1999/05/16 07:27:35 ea Exp $
+/* $Id$
*
* Entry point for programs that use wmain()
*/
-#include <windows.h>
#include <stdio.h>
+#include <stdarg.h>
+#include <windef.h>
+#include <winbase.h>
+
int wmain(int argc,wchar_t *argv[]);
wchar_t *
Show replies by date