Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
13ec7952
Commit
13ec7952
authored
Dec 09, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Assume that unistd.h is available on Unix.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7d5af655
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
13 additions
and
67 deletions
+13
-67
configure
configure
+0
-6
configure.ac
configure.ac
+0
-1
ndis.c
dlls/nsiproxy.sys/ndis.c
+0
-3
tcp.c
dlls/nsiproxy.sys/tcp.c
+1
-4
env.c
dlls/ntdll/unix/env.c
+2
-6
file.c
dlls/ntdll/unix/file.c
+1
-3
v4l.c
dlls/qcap/v4l.c
+0
-2
midi.c
dlls/winealsa.drv/midi.c
+1
-3
window.c
dlls/wineandroid.drv/window.c
+1
-3
bus_udev.c
dlls/winebus.sys/bus_udev.c
+1
-3
joystick_linux.c
dlls/winejoystick.drv/joystick_linux.c
+1
-3
clipboard.c
dlls/winex11.drv/clipboard.c
+1
-3
systray.c
dlls/winex11.drv/systray.c
+1
-3
window.c
dlls/winex11.drv/window.c
+1
-3
x11drv_main.c
dlls/winex11.drv/x11drv_main.c
+1
-3
xdnd.c
dlls/winex11.drv/xdnd.c
+1
-3
tools.h
tools/tools.h
+0
-3
parser.l
tools/widl/parser.l
+0
-5
parser.l
tools/wrc/parser.l
+0
-5
ppl.l
tools/wrc/ppl.l
+0
-2
No files found.
configure
View file @
13ec7952
...
@@ -8714,12 +8714,6 @@ then :
...
@@ -8714,12 +8714,6 @@ then :
printf
"%s
\n
"
"#define HAVE_SYSCALL_H 1"
>>
confdefs.h
printf
"%s
\n
"
"#define HAVE_SYSCALL_H 1"
>>
confdefs.h
fi
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"unistd.h"
"ac_cv_header_unistd_h"
"
$ac_includes_default
"
if
test
"x
$ac_cv_header_unistd_h
"
=
xyes
then
:
printf
"%s
\n
"
"#define HAVE_UNISTD_H 1"
>>
confdefs.h
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"utime.h"
"ac_cv_header_utime_h"
"
$ac_includes_default
"
ac_fn_c_check_header_compile
"
$LINENO
"
"utime.h"
"ac_cv_header_utime_h"
"
$ac_includes_default
"
if
test
"x
$ac_cv_header_utime_h
"
=
xyes
if
test
"x
$ac_cv_header_utime_h
"
=
xyes
then
:
then
:
...
...
configure.ac
View file @
13ec7952
...
@@ -511,7 +511,6 @@ AC_CHECK_HEADERS(\
...
@@ -511,7 +511,6 @@ AC_CHECK_HEADERS(\
sys/vnode.h \
sys/vnode.h \
sys/wait.h \
sys/wait.h \
syscall.h \
syscall.h \
unistd.h \
utime.h \
utime.h \
valgrind/memcheck.h \
valgrind/memcheck.h \
valgrind/valgrind.h
valgrind/valgrind.h
...
...
dlls/nsiproxy.sys/ndis.c
View file @
13ec7952
...
@@ -25,10 +25,7 @@
...
@@ -25,10 +25,7 @@
#include "config.h"
#include "config.h"
#include <stdarg.h>
#include <stdarg.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#include <unistd.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#include <sys/socket.h>
...
...
dlls/nsiproxy.sys/tcp.c
View file @
13ec7952
...
@@ -27,15 +27,12 @@
...
@@ -27,15 +27,12 @@
#include <stdarg.h>
#include <stdarg.h>
#include <sys/types.h>
#include <sys/types.h>
#include <dirent.h>
#include <dirent.h>
#include <unistd.h>
#ifdef HAVE_SYS_PARAM_H
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#include <sys/param.h>
#endif
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#include <sys/socket.h>
#endif
#endif
...
...
dlls/ntdll/unix/env.c
View file @
13ec7952
...
@@ -33,18 +33,14 @@
...
@@ -33,18 +33,14 @@
#include <stdarg.h>
#include <stdarg.h>
#include <sys/types.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/ioctl.h>
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
# include <sys/stat.h>
#include <unistd.h>
#endif
#ifdef HAVE_SYS_PRCTL_H
#ifdef HAVE_SYS_PRCTL_H
# include <sys/prctl.h>
# include <sys/prctl.h>
#endif
#endif
#ifdef HAVE_PWD_H
#ifdef HAVE_PWD_H
# include <pwd.h>
# include <pwd.h>
#endif
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef __APPLE__
#ifdef __APPLE__
# include <CoreFoundation/CFLocale.h>
# include <CoreFoundation/CFLocale.h>
# include <CoreFoundation/CFString.h>
# include <CoreFoundation/CFString.h>
...
...
dlls/ntdll/unix/file.c
View file @
13ec7952
...
@@ -105,9 +105,7 @@
...
@@ -105,9 +105,7 @@
#include <sys/statfs.h>
#include <sys/statfs.h>
#endif
#endif
#include <time.h>
#include <time.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
# include <unistd.h>
#endif
#include "ntstatus.h"
#include "ntstatus.h"
#define WIN32_NO_STATUS
#define WIN32_NO_STATUS
...
...
dlls/qcap/v4l.c
View file @
13ec7952
...
@@ -48,9 +48,7 @@
...
@@ -48,9 +48,7 @@
#ifdef HAVE_LINUX_VIDEODEV2_H
#ifdef HAVE_LINUX_VIDEODEV2_H
#include <linux/videodev2.h>
#include <linux/videodev2.h>
#endif
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#include <unistd.h>
#endif
#include "ntstatus.h"
#include "ntstatus.h"
#define WIN32_NO_STATUS
#define WIN32_NO_STATUS
...
...
dlls/winealsa.drv/midi.c
View file @
13ec7952
...
@@ -36,9 +36,7 @@
...
@@ -36,9 +36,7 @@
#include <string.h>
#include <string.h>
#include <stdarg.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdio.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
# include <unistd.h>
#endif
#include <fcntl.h>
#include <fcntl.h>
#include <errno.h>
#include <errno.h>
...
...
dlls/wineandroid.drv/window.c
View file @
13ec7952
...
@@ -32,9 +32,7 @@
...
@@ -32,9 +32,7 @@
#include <stdarg.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdio.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
# include <unistd.h>
#endif
#define OEMRESOURCE
#define OEMRESOURCE
#include "windef.h"
#include "windef.h"
...
...
dlls/winebus.sys/bus_udev.c
View file @
13ec7952
...
@@ -31,9 +31,7 @@
...
@@ -31,9 +31,7 @@
#include <stdint.h>
#include <stdint.h>
#include <sys/types.h>
#include <sys/types.h>
#include <dirent.h>
#include <dirent.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
# include <unistd.h>
#endif
#include <poll.h>
#include <poll.h>
#ifdef HAVE_LIBUDEV_H
#ifdef HAVE_LIBUDEV_H
# include <libudev.h>
# include <libudev.h>
...
...
dlls/winejoystick.drv/joystick_linux.c
View file @
13ec7952
...
@@ -39,9 +39,7 @@
...
@@ -39,9 +39,7 @@
#ifdef HAVE_LINUX_22_JOYSTICK_API
#ifdef HAVE_LINUX_22_JOYSTICK_API
#ifdef HAVE_UNISTD_H
#include <unistd.h>
# include <unistd.h>
#endif
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
...
...
dlls/winex11.drv/clipboard.c
View file @
13ec7952
...
@@ -69,9 +69,7 @@
...
@@ -69,9 +69,7 @@
#include <stdarg.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
# include <unistd.h>
#endif
#include <fcntl.h>
#include <fcntl.h>
#include <dlfcn.h>
#include <dlfcn.h>
#include <limits.h>
#include <limits.h>
...
...
dlls/winex11.drv/systray.c
View file @
13ec7952
...
@@ -26,9 +26,7 @@
...
@@ -26,9 +26,7 @@
#include <stdarg.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdio.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
# include <unistd.h>
#endif
#include <X11/Xlib.h>
#include <X11/Xlib.h>
...
...
dlls/winex11.drv/window.c
View file @
13ec7952
...
@@ -25,9 +25,7 @@
...
@@ -25,9 +25,7 @@
#include <stdarg.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdio.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
# include <unistd.h>
#endif
#include <X11/Xlib.h>
#include <X11/Xlib.h>
#include <X11/Xresource.h>
#include <X11/Xresource.h>
...
...
dlls/winex11.drv/x11drv_main.c
View file @
13ec7952
...
@@ -29,9 +29,7 @@
...
@@ -29,9 +29,7 @@
#ifdef HAVE_SYS_TIME_H
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
# include <sys/time.h>
#endif
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
# include <unistd.h>
#endif
#include <dlfcn.h>
#include <dlfcn.h>
#include <X11/cursorfont.h>
#include <X11/cursorfont.h>
#include <X11/Xlib.h>
#include <X11/Xlib.h>
...
...
dlls/winex11.drv/xdnd.c
View file @
13ec7952
...
@@ -22,9 +22,7 @@
...
@@ -22,9 +22,7 @@
#include "config.h"
#include "config.h"
#include <string.h>
#include <string.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
# include <unistd.h>
#endif
#include <stdarg.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdio.h>
...
...
tools/tools.h
View file @
13ec7952
...
@@ -30,9 +30,6 @@
...
@@ -30,9 +30,6 @@
#include <fcntl.h>
#include <fcntl.h>
#include <time.h>
#include <time.h>
#include <errno.h>
#include <errno.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef _WIN32
#ifdef _WIN32
# include <direct.h>
# include <direct.h>
...
...
tools/widl/parser.l
View file @
13ec7952
...
@@ -51,12 +51,7 @@ double [0-9]+\.[0-9]+([eE][+-]?[0-9]+)*
...
@@ -51,12 +51,7 @@ double [0-9]+\.[0-9]+([eE][+-]?[0-9]+)*
#include <assert.h>
#include <assert.h>
#include <errno.h>
#include <errno.h>
#include <limits.h>
#include <limits.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#else
#define YY_NO_UNISTD_H
#define YY_NO_UNISTD_H
#endif
#include "widl.h"
#include "widl.h"
#include "utils.h"
#include "utils.h"
...
...
tools/wrc/parser.l
View file @
13ec7952
...
@@ -104,12 +104,7 @@ ws [ \f\t\r]
...
@@ -104,12 +104,7 @@ ws [ \f\t\r]
#include <assert.h>
#include <assert.h>
#include <errno.h>
#include <errno.h>
#include <limits.h>
#include <limits.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#else
#define YY_NO_UNISTD_H
#define YY_NO_UNISTD_H
#endif
#include "../tools.h"
#include "../tools.h"
#include "wrc.h"
#include "wrc.h"
...
...
tools/wrc/ppl.l
View file @
13ec7952
...
@@ -168,9 +168,7 @@ ul [uUlL]|[uUlL][lL]|[lL][uU]|[lL][lL][uU]|[uU][lL][lL]|[lL][uU][lL]
...
@@ -168,9 +168,7 @@ ul [uUlL]|[uUlL][lL]|[lL][uU]|[lL][lL][uU]|[uU][lL][lL]|[lL][uU][lL]
# define ULLONG_MAX ((__int64)0xffffffff << 32 | 0xffffffff)
# define ULLONG_MAX ((__int64)0xffffffff << 32 | 0xffffffff)
#endif
#endif
#ifndef HAVE_UNISTD_H
#define YY_NO_UNISTD_H
#define YY_NO_UNISTD_H
#endif
#include "../tools.h"
#include "../tools.h"
#include "utils.h"
#include "utils.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