diff --git a/configure.ac b/configure.ac index db33043..f0762f6 100644 --- a/configure.ac +++ b/configure.ac @@ -179,6 +179,7 @@ AC_CHECK_HEADERS([\ pwd.h \ grp.h \ stdio_ext.h \ + procinfo.h \ ]) # Checks for typedefs, structures, and compiler characteristics. diff --git a/src/progname.c b/src/progname.c index 56d91ec..83e8652 100644 --- a/src/progname.c +++ b/src/progname.c @@ -35,6 +35,9 @@ #include #include #include +#ifdef HAVE_PROCINFO_H +#include +#endif #ifdef _WIN32 #include #include