mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-09 11:17:37 +01:00
progname: Include <procinfo.h> if available
We need this header on AIX. Missed transplanting the code from the AIX
porting system.
Fixes: commit 9fa06763a1
This commit is contained in:
parent
d08163b4fe
commit
8f998d1d20
@ -179,6 +179,7 @@ AC_CHECK_HEADERS([\
|
|||||||
pwd.h \
|
pwd.h \
|
||||||
grp.h \
|
grp.h \
|
||||||
stdio_ext.h \
|
stdio_ext.h \
|
||||||
|
procinfo.h \
|
||||||
])
|
])
|
||||||
|
|
||||||
# Checks for typedefs, structures, and compiler characteristics.
|
# Checks for typedefs, structures, and compiler characteristics.
|
||||||
|
@ -35,6 +35,9 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#ifdef HAVE_PROCINFO_H
|
||||||
|
#include <procinfo.h>
|
||||||
|
#endif
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
#include <shlwapi.h>
|
#include <shlwapi.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user