mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
iphlpapi: Check for proc_pidinfo() instead of assuming libproc.h always defines it.
This is needed on FreeBSD 8.1.
This commit is contained in:
parent
0a5cb15f94
commit
4f27b78fb4
1
configure
vendored
1
configure
vendored
@ -13414,6 +13414,7 @@ for ac_func in \
|
||||
port_create \
|
||||
prctl \
|
||||
pread \
|
||||
proc_pidinfo \
|
||||
pwrite \
|
||||
readdir \
|
||||
readlink \
|
||||
|
@ -2041,6 +2041,7 @@ AC_CHECK_FUNCS(\
|
||||
port_create \
|
||||
prctl \
|
||||
pread \
|
||||
proc_pidinfo \
|
||||
pwrite \
|
||||
readdir \
|
||||
readlink \
|
||||
|
@ -2046,7 +2046,7 @@ static unsigned int find_owning_pid( struct pid_map *map, unsigned int num_entri
|
||||
|
||||
procstat_close( pstat );
|
||||
return 0;
|
||||
#elif defined(HAVE_LIBPROC_H)
|
||||
#elif defined(HAVE_PROC_PIDINFO)
|
||||
struct proc_fdinfo *fds;
|
||||
struct socket_fdinfo sock;
|
||||
unsigned int i, j, n, fd_len;
|
||||
|
@ -633,6 +633,9 @@
|
||||
/* Define to 1 if you have the <process.h> header file. */
|
||||
#undef HAVE_PROCESS_H
|
||||
|
||||
/* Define to 1 if you have the `proc_pidinfo' function. */
|
||||
#undef HAVE_PROC_PIDINFO
|
||||
|
||||
/* Define to 1 if you have the `pthread_attr_get_np' function. */
|
||||
#undef HAVE_PTHREAD_ATTR_GET_NP
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user