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
13277480
Commit
13277480
authored
Jul 10, 1999
by
Howard Abrams
Committed by
Alexandre Julliard
Jul 10, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added checks for sys/errno.h, sys/signal.h and sys/mman.h.
parent
f03c9366
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
84 additions
and
1 deletion
+84
-1
configure
configure
+0
-0
configure.in
configure.in
+6
-1
break.c
debugger/break.c
+2
-0
msc.c
debugger/msc.c
+2
-0
source.c
debugger/source.c
+2
-0
stabs.c
debugger/stabs.c
+4
-0
directory.c
files/directory.c
+2
-0
dos_fs.c
files/dos_fs.c
+2
-0
file.c
files/file.c
+6
-0
config.h.in
include/config.h.in
+12
-0
multimedia.h
include/multimedia.h
+2
-0
windef.h
include/windef.h
+4
-0
pe_image.c
loader/pe_image.c
+2
-0
virtual.c
memory/virtual.c
+6
-0
registry.c
misc/registry.c
+2
-0
winsock.c
misc/winsock.c
+2
-0
joystick.c
multimedia/joystick.c
+2
-0
client.c
scheduler/client.c
+4
-0
thread.c
scheduler/thread.c
+2
-0
console.c
server/console.c
+2
-0
file.c
server/file.c
+2
-0
pipe.c
server/pipe.c
+2
-0
thread.c
server/thread.c
+4
-0
console.c
win32/console.c
+2
-0
device.c
win32/device.c
+2
-0
file.c
win32/file.c
+4
-0
dinput.c
windows/dinput.c
+2
-0
No files found.
configure
View file @
13277480
This diff is collapsed.
Click to expand it.
configure.in
View file @
13277480
...
@@ -7,7 +7,7 @@ AC_CONFIG_HEADER(include/config.h)
...
@@ -7,7 +7,7 @@ AC_CONFIG_HEADER(include/config.h)
AC_CONFIG_AUX_DIR(tools)
AC_CONFIG_AUX_DIR(tools)
# We want these before the checks, so the checks can modify their values.
# We want these before the checks, so the checks can modify their values.
LIBS="$LIBS -lm"
test -z "$PROGEXT" && PROGEXT="" AC_SUBST(PROGEXT)
test -z "$PROGEXT" && PROGEXT="" AC_SUBST(PROGEXT)
dnl **** Command-line arguments ****
dnl **** Command-line arguments ****
...
@@ -78,6 +78,8 @@ AC_PATH_PROG(LDCONFIG, ldconfig, false, /sbin:/usr/sbin:$PATH)
...
@@ -78,6 +78,8 @@ AC_PATH_PROG(LDCONFIG, ldconfig, false, /sbin:/usr/sbin:$PATH)
dnl **** Check for some libraries ****
dnl **** Check for some libraries ****
dnl Check for -lm for BeOS
AC_CHECK_LIB(m,sqrt)
dnl Check for -li386 for NetBSD and OpenBSD
dnl Check for -li386 for NetBSD and OpenBSD
AC_CHECK_LIB(i386,i386_set_ldt)
AC_CHECK_LIB(i386,i386_set_ldt)
dnl Check for -lossaudio for NetBSD
dnl Check for -lossaudio for NetBSD
...
@@ -497,12 +499,15 @@ AC_CHECK_HEADERS(\
...
@@ -497,12 +499,15 @@ AC_CHECK_HEADERS(\
resolv.h \
resolv.h \
strings.h \
strings.h \
sys/cdio.h \
sys/cdio.h \
sys/errno.h \
sys/file.h \
sys/file.h \
sys/filio.h \
sys/filio.h \
sys/lwp.h \
sys/lwp.h \
sys/mman.h \
sys/modem.h \
sys/modem.h \
sys/mount.h \
sys/mount.h \
sys/param.h \
sys/param.h \
sys/signal.h \
sys/sockio.h \
sys/sockio.h \
sys/statfs.h \
sys/statfs.h \
sys/strtio.h \
sys/strtio.h \
...
...
debugger/break.c
View file @
13277480
...
@@ -9,7 +9,9 @@
...
@@ -9,7 +9,9 @@
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/types.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#include <sys/mman.h>
#endif
#include "wine/winbase16.h"
#include "wine/winbase16.h"
#include "module.h"
#include "module.h"
#include "neexe.h"
#include "neexe.h"
...
...
debugger/msc.c
View file @
13277480
...
@@ -19,7 +19,9 @@
...
@@ -19,7 +19,9 @@
#include <stdlib.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/types.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#include <sys/mman.h>
#endif
#include <fcntl.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/stat.h>
#include <limits.h>
#include <limits.h>
...
...
debugger/source.c
View file @
13277480
...
@@ -10,7 +10,9 @@
...
@@ -10,7 +10,9 @@
#include <stdlib.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/types.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#include <sys/mman.h>
#endif
#include <fcntl.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/stat.h>
#include <limits.h>
#include <limits.h>
...
...
debugger/stabs.c
View file @
13277480
...
@@ -9,7 +9,9 @@
...
@@ -9,7 +9,9 @@
#include <sys/types.h>
#include <sys/types.h>
#include <fcntl.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/stat.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#include <sys/mman.h>
#endif
#include <limits.h>
#include <limits.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
...
@@ -30,7 +32,9 @@
...
@@ -30,7 +32,9 @@
# include <elf.h>
# include <elf.h>
#endif
#endif
#include <link.h>
#include <link.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#include <sys/mman.h>
#endif
#elif defined(__EMX__)
#elif defined(__EMX__)
#include <a_out.h>
#include <a_out.h>
#else
#else
...
...
files/directory.c
View file @
13277480
...
@@ -11,7 +11,9 @@
...
@@ -11,7 +11,9 @@
#include <sys/stat.h>
#include <sys/stat.h>
#include <unistd.h>
#include <unistd.h>
#include <errno.h>
#include <errno.h>
#ifdef HAVE_SYS_ERRNO_H
#include <sys/errno.h>
#include <sys/errno.h>
#endif
#include "winbase.h"
#include "winbase.h"
#include "wine/winbase16.h"
#include "wine/winbase16.h"
...
...
files/dos_fs.c
View file @
13277480
...
@@ -10,7 +10,9 @@
...
@@ -10,7 +10,9 @@
#include <ctype.h>
#include <ctype.h>
#include <dirent.h>
#include <dirent.h>
#include <errno.h>
#include <errno.h>
#ifdef HAVE_SYS_ERRNO_H
#include <sys/errno.h>
#include <sys/errno.h>
#endif
#include <fcntl.h>
#include <fcntl.h>
#include <string.h>
#include <string.h>
#include <stdlib.h>
#include <stdlib.h>
...
...
files/file.c
View file @
13277480
...
@@ -9,16 +9,22 @@
...
@@ -9,16 +9,22 @@
* Right now, they simply call the CopyFile method.
* Right now, they simply call the CopyFile method.
*/
*/
#include "config.h"
#include <assert.h>
#include <assert.h>
#include <ctype.h>
#include <ctype.h>
#include <errno.h>
#include <errno.h>
#include <fcntl.h>
#include <fcntl.h>
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
#ifdef HAVE_SYS_ERRNO_H
#include <sys/errno.h>
#include <sys/errno.h>
#endif
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#include <sys/mman.h>
#endif
#include <sys/time.h>
#include <sys/time.h>
#include <time.h>
#include <time.h>
#include <unistd.h>
#include <unistd.h>
...
...
include/config.h.in
View file @
13277480
...
@@ -250,6 +250,9 @@
...
@@ -250,6 +250,9 @@
/* Define if you have the <sys/cdio.h> header file. */
/* Define if you have the <sys/cdio.h> header file. */
#undef HAVE_SYS_CDIO_H
#undef HAVE_SYS_CDIO_H
/* Define if you have the <sys/errno.h> header file. */
#undef HAVE_SYS_ERRNO_H
/* Define if you have the <sys/file.h> header file. */
/* Define if you have the <sys/file.h> header file. */
#undef HAVE_SYS_FILE_H
#undef HAVE_SYS_FILE_H
...
@@ -259,6 +262,9 @@
...
@@ -259,6 +262,9 @@
/* Define if you have the <sys/lwp.h> header file. */
/* Define if you have the <sys/lwp.h> header file. */
#undef HAVE_SYS_LWP_H
#undef HAVE_SYS_LWP_H
/* Define if you have the <sys/mman.h> header file. */
#undef HAVE_SYS_MMAN_H
/* Define if you have the <sys/modem.h> header file. */
/* Define if you have the <sys/modem.h> header file. */
#undef HAVE_SYS_MODEM_H
#undef HAVE_SYS_MODEM_H
...
@@ -268,6 +274,9 @@
...
@@ -268,6 +274,9 @@
/* Define if you have the <sys/param.h> header file. */
/* Define if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_H
#undef HAVE_SYS_PARAM_H
/* Define if you have the <sys/signal.h> header file. */
#undef HAVE_SYS_SIGNAL_H
/* Define if you have the <sys/sockio.h> header file. */
/* Define if you have the <sys/sockio.h> header file. */
#undef HAVE_SYS_SOCKIO_H
#undef HAVE_SYS_SOCKIO_H
...
@@ -304,6 +313,9 @@
...
@@ -304,6 +313,9 @@
/* Define if you have the i386 library (-li386). */
/* Define if you have the i386 library (-li386). */
#undef HAVE_LIBI386
#undef HAVE_LIBI386
/* Define if you have the m library (-lm). */
#undef HAVE_LIBM
/* Define if you have the mmap library (-lmmap). */
/* Define if you have the mmap library (-lmmap). */
#undef HAVE_LIBMMAP
#undef HAVE_LIBMMAP
...
...
include/multimedia.h
View file @
13277480
...
@@ -31,7 +31,9 @@
...
@@ -31,7 +31,9 @@
# include <soundcard.h>
# include <soundcard.h>
#endif
#endif
#ifdef HAVE_SYS_ERRNO_H
#include <sys/errno.h>
#include <sys/errno.h>
#endif
#ifdef HAVE_OSS
#ifdef HAVE_OSS
#define MIDI_SEQ "/dev/sequencer"
#define MIDI_SEQ "/dev/sequencer"
...
...
include/windef.h
View file @
13277480
...
@@ -400,8 +400,12 @@ typedef LRESULT (CALLBACK *WNDPROC)(HWND,UINT,WPARAM,LPARAM);
...
@@ -400,8 +400,12 @@ typedef LRESULT (CALLBACK *WNDPROC)(HWND,UINT,WPARAM,LPARAM);
#define __max(a,b) MAX(a,b)
#define __max(a,b) MAX(a,b)
#define __min(a,b) MIN(a,b)
#define __min(a,b) MIN(a,b)
#ifndef max
#define max(a,b) MAX(a,b)
#define max(a,b) MAX(a,b)
#endif
#ifndef min
#define min(a,b) MIN(a,b)
#define min(a,b) MIN(a,b)
#endif
#define _MAX_PATH 260
#define _MAX_PATH 260
#define MAX_PATH 260
#define MAX_PATH 260
...
...
loader/pe_image.c
View file @
13277480
...
@@ -40,7 +40,9 @@
...
@@ -40,7 +40,9 @@
#include <unistd.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#include <sys/mman.h>
#endif
#include "windef.h"
#include "windef.h"
#include "winbase.h"
#include "winbase.h"
#include "winerror.h"
#include "winerror.h"
...
...
memory/virtual.c
View file @
13277480
...
@@ -4,15 +4,21 @@
...
@@ -4,15 +4,21 @@
* Copyright 1997 Alexandre Julliard
* Copyright 1997 Alexandre Julliard
*/
*/
#include "config.h"
#include <assert.h>
#include <assert.h>
#include <errno.h>
#include <errno.h>
#ifdef HAVE_SYS_ERRNO_H
#include <sys/errno.h>
#include <sys/errno.h>
#endif
#include <fcntl.h>
#include <fcntl.h>
#include <unistd.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
#include <sys/types.h>
#include <sys/types.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#include <sys/mman.h>
#endif
#include "winbase.h"
#include "winbase.h"
#include "winerror.h"
#include "winerror.h"
#include "file.h"
#include "file.h"
...
...
misc/registry.c
View file @
13277480
...
@@ -24,7 +24,9 @@
...
@@ -24,7 +24,9 @@
#include <unistd.h>
#include <unistd.h>
#include <ctype.h>
#include <ctype.h>
#include <errno.h>
#include <errno.h>
#ifdef HAVE_SYS_ERRNO_H
#include <sys/errno.h>
#include <sys/errno.h>
#endif
#include <sys/types.h>
#include <sys/types.h>
#include <sys/fcntl.h>
#include <sys/fcntl.h>
#include <sys/stat.h>
#include <sys/stat.h>
...
...
misc/winsock.c
View file @
13277480
...
@@ -40,7 +40,9 @@
...
@@ -40,7 +40,9 @@
#include <ctype.h>
#include <ctype.h>
#include <fcntl.h>
#include <fcntl.h>
#include <errno.h>
#include <errno.h>
#ifdef HAVE_SYS_ERRNO_H
#include <sys/errno.h>
#include <sys/errno.h>
#endif
#include <netdb.h>
#include <netdb.h>
#include <unistd.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdlib.h>
...
...
multimedia/joystick.c
View file @
13277480
...
@@ -18,7 +18,9 @@
...
@@ -18,7 +18,9 @@
#include <string.h>
#include <string.h>
#include <fcntl.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/ioctl.h>
#ifdef HAVE_SYS_ERRNO_H
#include <sys/errno.h>
#include <sys/errno.h>
#endif
#include "winuser.h"
#include "winuser.h"
#include "winbase.h"
#include "winbase.h"
#include "mmsystem.h"
#include "mmsystem.h"
...
...
scheduler/client.c
View file @
13277480
...
@@ -4,6 +4,8 @@
...
@@ -4,6 +4,8 @@
* Copyright (C) 1998 Alexandre Julliard
* Copyright (C) 1998 Alexandre Julliard
*/
*/
#include "config.h"
#include <assert.h>
#include <assert.h>
#include <errno.h>
#include <errno.h>
#include <fcntl.h>
#include <fcntl.h>
...
@@ -11,7 +13,9 @@
...
@@ -11,7 +13,9 @@
#include <string.h>
#include <string.h>
#include <sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/socket.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#include <sys/mman.h>
#endif
#include <sys/uio.h>
#include <sys/uio.h>
#include <unistd.h>
#include <unistd.h>
#include <stdarg.h>
#include <stdarg.h>
...
...
scheduler/thread.c
View file @
13277480
...
@@ -8,7 +8,9 @@
...
@@ -8,7 +8,9 @@
#include <fcntl.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/socket.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#include <sys/mman.h>
#endif
#include <unistd.h>
#include <unistd.h>
#include "wine/winbase16.h"
#include "wine/winbase16.h"
#include "thread.h"
#include "thread.h"
...
...
server/console.c
View file @
13277480
...
@@ -13,7 +13,9 @@
...
@@ -13,7 +13,9 @@
#include <string.h>
#include <string.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#ifdef HAVE_SYS_ERRNO_H
#include <sys/errno.h>
#include <sys/errno.h>
#endif
#include <sys/stat.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/types.h>
...
...
server/file.c
View file @
13277480
...
@@ -10,7 +10,9 @@
...
@@ -10,7 +10,9 @@
#include <string.h>
#include <string.h>
#include <stdlib.h>
#include <stdlib.h>
#include <errno.h>
#include <errno.h>
#ifdef HAVE_SYS_ERRNO_H
#include <sys/errno.h>
#include <sys/errno.h>
#endif
#include <sys/stat.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/types.h>
...
...
server/pipe.c
View file @
13277480
...
@@ -9,7 +9,9 @@
...
@@ -9,7 +9,9 @@
#include <string.h>
#include <string.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#ifdef HAVE_SYS_ERRNO_H
#include <sys/errno.h>
#include <sys/errno.h>
#endif
#include <sys/stat.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/types.h>
...
...
server/thread.c
View file @
13277480
...
@@ -4,13 +4,17 @@
...
@@ -4,13 +4,17 @@
* Copyright (C) 1998 Alexandre Julliard
* Copyright (C) 1998 Alexandre Julliard
*/
*/
#include "config.h"
#include <assert.h>
#include <assert.h>
#include <fcntl.h>
#include <fcntl.h>
#include <signal.h>
#include <signal.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#include <sys/mman.h>
#endif
#include <sys/types.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <sys/uio.h>
#include <unistd.h>
#include <unistd.h>
...
...
win32/console.c
View file @
13277480
...
@@ -29,7 +29,9 @@
...
@@ -29,7 +29,9 @@
#include <unistd.h>
#include <unistd.h>
#include <fcntl.h>
#include <fcntl.h>
#include <errno.h>
#include <errno.h>
#ifdef HAVE_SYS_ERRNO_H
#include <sys/errno.h>
#include <sys/errno.h>
#endif
#include <signal.h>
#include <signal.h>
#include <assert.h>
#include <assert.h>
...
...
win32/device.c
View file @
13277480
...
@@ -13,7 +13,9 @@
...
@@ -13,7 +13,9 @@
#include <unistd.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#include <sys/mman.h>
#endif
#include <fcntl.h>
#include <fcntl.h>
#include <string.h>
#include <string.h>
#include <stdarg.h>
#include <stdarg.h>
...
...
win32/file.c
View file @
13277480
...
@@ -5,12 +5,16 @@
...
@@ -5,12 +5,16 @@
*/
*/
#include <errno.h>
#include <errno.h>
#ifdef HAVE_SYS_ERRNO_H
#include <sys/errno.h>
#include <sys/errno.h>
#endif
#include <stdlib.h>
#include <stdlib.h>
#include <unistd.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#include <sys/mman.h>
#endif
#include <fcntl.h>
#include <fcntl.h>
#include <string.h>
#include <string.h>
#include <time.h>
#include <time.h>
...
...
windows/dinput.c
View file @
13277480
...
@@ -22,7 +22,9 @@
...
@@ -22,7 +22,9 @@
#include <string.h>
#include <string.h>
#include <unistd.h>
#include <unistd.h>
#include <assert.h>
#include <assert.h>
#ifdef HAVE_SYS_SIGNAL_H
#include <sys/signal.h>
#include <sys/signal.h>
#endif
#include "wine/obj_base.h"
#include "wine/obj_base.h"
#include "debugtools.h"
#include "debugtools.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