mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-10-14 06:55:52 +02: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:
@@ -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>
|
||||||
|
Reference in New Issue
Block a user