Imported Upstream version 1.8.3
[debian/sudo] / src / get_pty.c
index 4bac6b931b87c45d4b6c8e1bb058a9969e1dfc6a..f303721d2d391599e89989d1eb97517f0e6156dc 100644 (file)
@@ -46,7 +46,9 @@
 #include <grp.h>
 #include <pwd.h>
 
-#ifdef HAVE_UTIL_H
+#if defined(HAVE_LIBUTIL_H)
+# include <libutil.h>
+#elif defined(HAVE_UTIL_H)
 # include <util.h>
 #endif
 #ifdef HAVE_PTY_H