diff options
Diffstat (limited to 'include/HsUnix.h')
-rw-r--r-- | include/HsUnix.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/HsUnix.h b/include/HsUnix.h index cb8d466..d8a072a 100644 --- a/include/HsUnix.h +++ b/include/HsUnix.h @@ -75,7 +75,9 @@ #include <dirent.h> #endif -#ifdef HAVE_LIBUTIL_H +#if defined(HAVE_BSD_LIBUTIL_H) +#include <bsd/libutil.h> +#elif defined(HAVE_LIBUTIL_H) #include <libutil.h> #endif #ifdef HAVE_PTY_H |