CVS: rdesktop configure.ac,1.4,1.5 rdesktop.h,1.23,1.24 serial.c,1.21,1.22

Michael Gernoth <[email protected]>
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2551

Modified Files:
	configure.ac rdesktop.h serial.c 
Log Message:
Fixes for HP/UX


Index: configure.ac
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/configure.ac,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** configure.ac	9 Aug 2004 11:39:49 -0000	1.4
--- configure.ac	6 Nov 2004 15:29:38 -0000	1.5
***************
*** 17,20 ****
--- 17,25 ----
  AC_SEARCH_LIBS(inet_aton, resolv)
  
+ AC_CHECK_HEADER(sys/select.h, AC_DEFINE(HAVE_SYS_SELECT_H))
+ AC_CHECK_HEADER(sys/modem.h, AC_DEFINE(HAVE_SYS_MODEM_H))
+ AC_CHECK_HEADER(sys/filio.h, AC_DEFINE(HAVE_SYS_FILIO_H))
+ AC_CHECK_HEADER(sys/strtio.h, AC_DEFINE(HAVE_SYS_STRTIO_H))
+ 
  rpath=""
  

Index: rdesktop.h
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/rdesktop.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** rdesktop.h	24 Aug 2004 21:37:50 -0000	1.23
--- rdesktop.h	6 Nov 2004 15:29:38 -0000	1.24
***************
*** 23,27 ****
--- 23,33 ----
  #include <string.h>
  #include <dirent.h>
+ #ifdef HAVE_SYS_SELECT_H
  #include <sys/select.h>
+ #else
+ #include <sys/time.h>
+ #include <sys/types.h>
+ #include <unistd.h>
+ #endif
  
  #define VERSION "1.3.1"

Index: serial.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/serial.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** serial.c	3 Nov 2004 13:56:51 -0000	1.21
--- serial.c	6 Nov 2004 15:29:38 -0000	1.22
***************
*** 4,7 ****
--- 4,18 ----
  #include <strings.h>
  #include <sys/ioctl.h>
+ 
+ #ifdef HAVE_SYS_MODEM_H
+ #include <sys/modem.h>
+ #endif
+ #ifdef HAVE_SYS_FILIO_H
+ #include <sys/filio.h>
+ #endif
+ #ifdef HAVE_SYS_STRTIO_H
+ #include <sys/strtio.h>
+ #endif
+ 
  #include "rdesktop.h"
  
***************
*** 112,116 ****
   * not available */
  #ifndef TIOCINQ
- #include <sys/filio.h>
  #define TIOCINQ FIONREAD
  #endif
--- 123,126 ----



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.