- fixed missing stdlib.h and string.h includes everywhere

- removed a couple of unneeded stdlib.h and stdio.h includes
This commit is contained in:
David Luyer 1999-02-28 12:27:56 +00:00 committed by Alexandre Julliard
parent 8feb3bc177
commit ee517e863e
35 changed files with 37 additions and 6 deletions

View File

@ -8,6 +8,7 @@
It does not currently support changing the title bar. It does not currently support changing the title bar.
*/ */
#include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <signal.h> #include <signal.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>

View File

@ -5,6 +5,7 @@
*/ */
#include <string.h> #include <string.h>
#include <stdlib.h>
#include "wine/winuser16.h" #include "wine/winuser16.h"
#include "winuser.h" #include "winuser.h"
#include "winerror.h" #include "winerror.h"

View File

@ -10,6 +10,8 @@
#include "x11drv.h" #include "x11drv.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h> #include <signal.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>

View File

@ -5,6 +5,7 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include "selectors.h" #include "selectors.h"
#include "debugger.h" #include "debugger.h"

View File

@ -4,6 +4,7 @@
This files contains all the D3D devices that Wine supports. For the moment This files contains all the D3D devices that Wine supports. For the moment
only the 'OpenGL' target is supported. */ only the 'OpenGL' target is supported. */
#include <string.h>
#include "config.h" #include "config.h"
#include "wintypes.h" #include "wintypes.h"
#include "winerror.h" #include "winerror.h"

View File

@ -4,6 +4,7 @@
This files contains the implementation of Direct3DExecuteBuffer. */ This files contains the implementation of Direct3DExecuteBuffer. */
#include <string.h>
#include "config.h" #include "config.h"
#include "wintypes.h" #include "wintypes.h"
#include "winerror.h" #include "winerror.h"

View File

@ -4,6 +4,7 @@
This files contains the implementation of interface Direct3DTexture2. */ This files contains the implementation of interface Direct3DTexture2. */
#include <string.h>
#include "config.h" #include "config.h"
#include "wintypes.h" #include "wintypes.h"
#include "winerror.h" #include "winerror.h"

View File

@ -4,7 +4,7 @@
* Copyright 1994 Bob Amstadt * Copyright 1994 Bob Amstadt
*/ */
#include <stdio.h> #include <string.h>
#include "wingdi.h" #include "wingdi.h"
#include "gdi.h" #include "gdi.h"
#include "heap.h" #include "heap.h"

View File

@ -5,7 +5,7 @@
* 1998 Huw Davies * 1998 Huw Davies
*/ */
#include <stdio.h> #include <string.h>
#include "wine/winbase16.h" #include "wine/winbase16.h"
#include "win16drv.h" #include "win16drv.h"
#include "module.h" #include "module.h"

View File

@ -4,6 +4,7 @@
* Copyright 1998 Ulrich Weigand * Copyright 1998 Ulrich Weigand
*/ */
#include <string.h>
#include "wine/winuser16.h" #include "wine/winuser16.h"
#include "module.h" #include "module.h"
#include "debug.h" #include "debug.h"

View File

@ -7,6 +7,7 @@
*/ */
#include <ctype.h> #include <ctype.h>
#include <string.h>
#include <sys/types.h> #include <sys/types.h>
#include <pwd.h> #include <pwd.h>
#include <unistd.h> #include <unistd.h>

View File

@ -6,6 +6,7 @@
#include "config.h" #include "config.h"
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/stat.h> #include <sys/stat.h>

View File

@ -3,6 +3,7 @@
* *
*/ */
#include <stdlib.h>
#include <assert.h> #include <assert.h>
#include "wine/winbase16.h" #include "wine/winbase16.h"
#include "callback.h" #include "callback.h"

View File

@ -15,6 +15,7 @@
#define DEBUG_MCIWAVE #define DEBUG_MCIWAVE
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
#include <unistd.h> #include <unistd.h>
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>

View File

@ -5,6 +5,7 @@
* <presently under construction - contact hunnise@nortelnetworks.com> * <presently under construction - contact hunnise@nortelnetworks.com>
* *
*/ */
#include <string.h>
#include "winerror.h" #include "winerror.h"
#include "winnt.h" #include "winnt.h"
#include "winreg.h" #include "winreg.h"

View File

@ -7,6 +7,7 @@
*/ */
#include <unistd.h> #include <unistd.h>
#include <string.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include "winbase.h" #include "winbase.h"

View File

@ -15,6 +15,7 @@
#define DEBUG_MCIWAVE #define DEBUG_MCIWAVE
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
#include <unistd.h> #include <unistd.h>
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>

View File

@ -5,6 +5,7 @@
*/ */
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>

View File

@ -7,6 +7,7 @@
#define EMULATE_SB16 #define EMULATE_SB16
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>

View File

@ -4,7 +4,7 @@
* Copyright 1993, 1994 Alexandre Julliard * Copyright 1993, 1994 Alexandre Julliard
*/ */
#include <stdlib.h> #include <string.h>
#include "winbase.h" #include "winbase.h"
#include "brush.h" #include "brush.h"
#include "bitmap.h" #include "bitmap.h"

View File

@ -4,6 +4,7 @@
* Copyright 1993 Alexandre Julliard * Copyright 1993 Alexandre Julliard
*/ */
#include <stdlib.h>
#include "dc.h" #include "dc.h"
#include "metafile.h" #include "metafile.h"
#include "region.h" #include "region.h"

View File

@ -4,6 +4,7 @@
* Copyright 1993 Alexandre Julliard * Copyright 1993 Alexandre Julliard
*/ */
#include <string.h>
#include "pen.h" #include "pen.h"
#include "debug.h" #include "debug.h"

View File

@ -80,6 +80,8 @@ SOFTWARE.
* the y-x-banding that's so nice to have... * the y-x-banding that's so nice to have...
*/ */
#include <stdlib.h>
#include <string.h>
#include "region.h" #include "region.h"
#include "winuser.h" #include "winuser.h"
#include "debug.h" #include "debug.h"

View File

@ -5,7 +5,7 @@
* *
*/ */
#include <stdlib.h> #include <string.h>
#include "wingdi.h" #include "wingdi.h"
#include "winuser.h" #include "winuser.h"
#include "wine/winuser16.h" #include "wine/winuser16.h"

View File

@ -7,7 +7,7 @@
* Copyright 1999 Francis Beaudet * Copyright 1999 Francis Beaudet
*/ */
#include <assert.h> #include <assert.h>
#include <string.h>
#include "windows.h" #include "windows.h"
#include "winerror.h" #include "winerror.h"
#include "oleauto.h" #include "oleauto.h"

View File

@ -5,6 +5,7 @@
*/ */
#include <string.h>
#include "ole.h" #include "ole.h"
#include "ole2.h" #include "ole2.h"
#include "winerror.h" #include "winerror.h"

View File

@ -5,6 +5,7 @@
*/ */
#include <assert.h> #include <assert.h>
#include <string.h>
#include "winerror.h" #include "winerror.h"
#include "k32obj.h" #include "k32obj.h"
#include "process.h" #include "process.h"

View File

@ -5,6 +5,7 @@
*/ */
#include <assert.h> #include <assert.h>
#include <string.h>
#include "winerror.h" #include "winerror.h"
#include "k32obj.h" #include "k32obj.h"
#include "heap.h" #include "heap.h"

View File

@ -5,6 +5,7 @@
*/ */
#include <assert.h> #include <assert.h>
#include <string.h>
#include "winerror.h" #include "winerror.h"
#include "k32obj.h" #include "k32obj.h"
#include "process.h" #include "process.h"

View File

@ -5,6 +5,7 @@
*/ */
#include <assert.h> #include <assert.h>
#include <string.h>
#include "winerror.h" #include "winerror.h"
#include "k32obj.h" #include "k32obj.h"
#include "process.h" #include "process.h"

View File

@ -7,6 +7,7 @@
#include <assert.h> #include <assert.h>
#include <fcntl.h> #include <fcntl.h>
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <errno.h> #include <errno.h>
#include <sys/errno.h> #include <sys/errno.h>

View File

@ -7,6 +7,7 @@
#include <assert.h> #include <assert.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/uio.h> #include <sys/uio.h>

View File

@ -5,7 +5,7 @@
* 1995 Alex Korobka * 1995 Alex Korobka
*/ */
#include <stdlib.h> #include <string.h>
#include "win.h" #include "win.h"
#include "user.h" #include "user.h"
#include "heap.h" #include "heap.h"

View File

@ -4,6 +4,7 @@
* Copyright 1995 Bernd Schmidt * Copyright 1995 Bernd Schmidt
*/ */
#include <string.h>
#include "wine/winuser16.h" #include "wine/winuser16.h"
#include "dlgs.h" #include "dlgs.h"
#include "heap.h" #include "heap.h"

View File

@ -9,6 +9,7 @@
#ifndef X_DISPLAY_MISSING #ifndef X_DISPLAY_MISSING
#include <stdlib.h>
#include <X11/cursorfont.h> #include <X11/cursorfont.h>
#include "ts_xlib.h" #include "ts_xlib.h"
#include "ts_xutil.h" #include "ts_xutil.h"