Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
09fefeed
Commit
09fefeed
authored
Sep 23, 2003
by
Jon Griffiths
Committed by
Alexandre Julliard
Sep 23, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Not everyone has <unistd.h>, some files need <io.h> too (msvc).
parent
33c069ae
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
32 additions
and
6 deletions
+32
-6
pread.c
libs/port/pread.c
+5
-0
pwrite.c
libs/port/pwrite.c
+4
-0
preproc.c
libs/wpp/preproc.c
+3
-0
curses.c
programs/wineconsole/curses.c
+2
-0
ext_debugger.c
programs/winedbg/ext_debugger.c
+3
-1
gdbproxy.c
programs/winedbg/gdbproxy.c
+3
-1
msc.c
programs/winedbg/msc.c
+3
-1
source.c
programs/winedbg/source.c
+3
-1
stabs.c
programs/winedbg/stabs.c
+3
-1
types.c
programs/winedbg/types.c
+3
-1
No files found.
libs/port/pread.c
View file @
09fefeed
...
@@ -22,9 +22,14 @@
...
@@ -22,9 +22,14 @@
#include "wine/port.h"
#include "wine/port.h"
#include <errno.h>
#include <errno.h>
#include <stdio.h>
#ifdef HAVE_UNISTD_H
#ifdef HAVE_UNISTD_H
# include <unistd.h>
# include <unistd.h>
#endif
#endif
#ifdef HAVE_IO_H
# include <io.h>
#endif
/* FIXME: this is not thread-safe */
/* FIXME: this is not thread-safe */
...
...
libs/port/pwrite.c
View file @
09fefeed
...
@@ -22,9 +22,13 @@
...
@@ -22,9 +22,13 @@
#include "wine/port.h"
#include "wine/port.h"
#include <errno.h>
#include <errno.h>
#include <stdio.h>
#ifdef HAVE_UNISTD_H
#ifdef HAVE_UNISTD_H
# include <unistd.h>
# include <unistd.h>
#endif
#endif
#ifdef HAVE_IO_H
# include <io.h>
#endif
/* FIXME: this is not thread-safe */
/* FIXME: this is not thread-safe */
...
...
libs/wpp/preproc.c
View file @
09fefeed
...
@@ -28,6 +28,9 @@
...
@@ -28,6 +28,9 @@
#ifdef HAVE_UNISTD_H
#ifdef HAVE_UNISTD_H
# include <unistd.h>
# include <unistd.h>
#endif
#endif
#ifdef HAVE_IO_H
# include <io.h>
#endif
#include "wpp_private.h"
#include "wpp_private.h"
...
...
programs/wineconsole/curses.c
View file @
09fefeed
...
@@ -42,7 +42,9 @@
...
@@ -42,7 +42,9 @@
#include <ncurses.h>
#include <ncurses.h>
#endif
#endif
#undef KEY_EVENT
/* avoid redefinition warning */
#undef KEY_EVENT
/* avoid redefinition warning */
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#include <unistd.h>
#endif
#include <windef.h>
#include <windef.h>
#include <winbase.h>
#include <winbase.h>
#include <winnls.h>
#include <winnls.h>
...
...
programs/winedbg/ext_debugger.c
View file @
09fefeed
...
@@ -21,7 +21,9 @@
...
@@ -21,7 +21,9 @@
#include "config.h"
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include <unistd.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <errno.h>
#include <errno.h>
#include <stdlib.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdio.h>
...
...
programs/winedbg/gdbproxy.c
View file @
09fefeed
...
@@ -41,7 +41,9 @@
...
@@ -41,7 +41,9 @@
#endif
#endif
#include <netinet/in.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <netinet/tcp.h>
#include <unistd.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include "windef.h"
#include "windef.h"
#include "winbase.h"
#include "winbase.h"
...
...
programs/winedbg/msc.c
View file @
09fefeed
...
@@ -33,7 +33,9 @@
...
@@ -33,7 +33,9 @@
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
#include <unistd.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifndef PATH_MAX
#ifndef PATH_MAX
#define PATH_MAX MAX_PATH
#define PATH_MAX MAX_PATH
#endif
#endif
...
...
programs/winedbg/source.c
View file @
09fefeed
...
@@ -30,7 +30,9 @@
...
@@ -30,7 +30,9 @@
#include <sys/stat.h>
#include <sys/stat.h>
#include <limits.h>
#include <limits.h>
#include <string.h>
#include <string.h>
#include <unistd.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifndef PATH_MAX
#ifndef PATH_MAX
#define PATH_MAX MAX_PATH
#define PATH_MAX MAX_PATH
#endif
#endif
...
...
programs/winedbg/stabs.c
View file @
09fefeed
...
@@ -42,7 +42,9 @@
...
@@ -42,7 +42,9 @@
#include <limits.h>
#include <limits.h>
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
#include <unistd.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <stdio.h>
#include <stdio.h>
#ifndef PATH_MAX
#ifndef PATH_MAX
#define PATH_MAX MAX_PATH
#define PATH_MAX MAX_PATH
...
...
programs/winedbg/types.c
View file @
09fefeed
...
@@ -29,7 +29,9 @@
...
@@ -29,7 +29,9 @@
#include <sys/stat.h>
#include <sys/stat.h>
#include <limits.h>
#include <limits.h>
#include <string.h>
#include <string.h>
#include <unistd.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include "debugger.h"
#include "debugger.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment