[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-patches
Subject:    misc/port.c
From:       "TAKESHIMA Hidenori" <hidenori () a2 ! ctktv ! ne ! jp>
Date:       2000-06-29 2:34:07
[Download RAW message or body]

In FreeBSD, libutil.h should be included for openpty.
After this patch is applied, please run autoheader and autoconf.

ChangeLog:
  misc/port.c: add including libutil.h if available.
  configure.in configure, include/config.h.in: add checking for libutil.h.

------
Hidenori Takeshima



Index: misc/port.c
===================================================================
RCS file: /home/wine/wine/misc/port.c,v
retrieving revision 1.12
diff -u -r1.12 port.c
--- misc/port.c 1999/12/11 23:02:15 1.12
+++ misc/port.c 2000/06/28 10:26:18
@@ -32,6 +32,9 @@
 #ifdef HAVE_PTY_H
 # include <pty.h>
 #endif
+#ifdef HAVE_LIBUTIL_H
+# include <libutil.h>
+#endif
 
 #include "wine/port.h"
 
Index: configure.in
===================================================================
RCS file: /home/wine/wine/configure.in,v
retrieving revision 1.130
diff -u -r1.130 configure.in
--- configure.in 2000/06/23 20:15:35 1.130
+++ configure.in 2000/06/28 10:26:19
@@ -694,6 +694,7 @@
  elf.h \
  float.h \
  libio.h \
+ libutil.h \
  link.h \
  linux/cdrom.h \
  linux/joystick.h \

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic