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
5d1a6385
Commit
5d1a6385
authored
Nov 26, 2000
by
Hidenori Takeshima
Committed by
Alexandre Julliard
Nov 26, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added checking for netdb.h.
Don't include arpa/inet.h and sys/socket.h if system doesn't have these headers.
parent
470acf83
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
17 additions
and
0 deletions
+17
-0
configure
configure
+0
-0
configure.in
configure.in
+1
-0
icmp_main.c
dlls/icmp/icmp_main.c
+2
-0
utility.c
dlls/wininet/utility.c
+1
-0
async.c
dlls/winsock/async.c
+2
-0
socket.c
dlls/winsock/socket.c
+2
-0
config.h.in
include/config.h.in
+3
-0
winsock.h
include/winsock.h
+6
-0
No files found.
configure
View file @
5d1a6385
This diff is collapsed.
Click to expand it.
configure.in
View file @
5d1a6385
...
...
@@ -753,6 +753,7 @@ AC_CHECK_HEADERS(\
linux/joystick.h \
linux/ucdrom.h \
net/if.h \
netdb.h \
netinet/in.h \
netinet/tcp.h \
pty.h \
...
...
dlls/icmp/icmp_main.c
View file @
5d1a6385
...
...
@@ -25,7 +25,9 @@
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
#include <netinet/in_systm.h>
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
...
...
dlls/wininet/utility.c
View file @
5d1a6385
...
...
@@ -11,6 +11,7 @@
#include <string.h>
#include <time.h>
#include "config.h"
#include "windows.h"
#include "wininet.h"
#include "winerror.h"
...
...
dlls/winsock/async.c
View file @
5d1a6385
...
...
@@ -66,7 +66,9 @@
#ifdef HAVE_SYS_ERRNO_H
#include <sys/errno.h>
#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
#include <unistd.h>
#include <stdlib.h>
#ifdef HAVE_ARPA_NAMESER_H
...
...
dlls/winsock/socket.c
View file @
5d1a6385
...
...
@@ -63,7 +63,9 @@
#ifdef HAVE_SYS_ERRNO_H
#include <sys/errno.h>
#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
#include <unistd.h>
#include <stdlib.h>
#ifdef HAVE_ARPA_NAMESER_H
...
...
include/config.h.in
View file @
5d1a6385
...
...
@@ -335,6 +335,9 @@
/* Define if you have the <net/if.h> header file. */
#undef HAVE_NET_IF_H
/* Define if you have the <netdb.h> header file. */
#undef HAVE_NETDB_H
/* Define if you have the <netinet/in.h> header file. */
#undef HAVE_NETINET_IN_H
...
...
include/winsock.h
View file @
5d1a6385
...
...
@@ -24,11 +24,17 @@
#define TRANSPARENT 1
#endif
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
/* HAVE_ARPA_INET_H */
#include <sys/time.h>
#include <fcntl.h>
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
/* HAVE_NETDB_H */
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
/* HAVE_SYS_SOCKET_H */
#include <sys/ioctl.h>
#endif
/* RC_INVOKED */
...
...
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