update.
[chise/xemacs-chise.git.1] / src / sysproc.h
index ebb4e78..a6b9cb3 100644 (file)
@@ -118,12 +118,12 @@ Boston, MA 02111-1307, USA.  */
 #include <sys/select.h>
 #endif
 
-#ifdef HAVE_SYS_STROPTS_H
-#include <sys/stropts.h>       /* isastream(), I_PUSH */
+#ifdef HAVE_STROPTS_H
+#include <stropts.h>           /* isastream(), I_PUSH */
 #endif
 
-#ifdef HAVE_SYS_STRTIO_H
-#include <sys/strtio.h>                /* TIOCSIGNAL */
+#ifdef HAVE_STRTIO_H
+#include <strtio.h>            /* TIOCSIGNAL */
 #endif
 
 #ifdef HAVE_PTY_H
@@ -131,7 +131,11 @@ Boston, MA 02111-1307, USA.  */
 #endif
 
 #ifdef HAVE_LIBUTIL_H
-#include <libutil.h>           /* openpty() on BSD */
+#include <libutil.h>           /* openpty() on FreeBSD */
+#endif
+
+#ifdef HAVE_UTIL_H
+#include <util.h>              /* openpty() on NetBSD */
 #endif
 
 #ifdef FD_SET