Fixes for HP/UX
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@797 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
8b97c52307
commit
14ad61708f
@ -16,6 +16,11 @@ AC_PATH_XTRA
|
|||||||
AC_SEARCH_LIBS(socket, socket)
|
AC_SEARCH_LIBS(socket, socket)
|
||||||
AC_SEARCH_LIBS(inet_aton, resolv)
|
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=""
|
rpath=""
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -22,7 +22,13 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
|
#ifdef HAVE_SYS_SELECT_H
|
||||||
#include <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"
|
#define VERSION "1.3.1"
|
||||||
|
|
||||||
|
12
serial.c
12
serial.c
@ -3,6 +3,17 @@
|
|||||||
#include <termios.h>
|
#include <termios.h>
|
||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
#include <sys/ioctl.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"
|
#include "rdesktop.h"
|
||||||
|
|
||||||
#ifdef WITH_DEBUG_SERIAL
|
#ifdef WITH_DEBUG_SERIAL
|
||||||
@ -111,7 +122,6 @@
|
|||||||
/* FIONREAD should really do the same thing as TIOCINQ, where it is
|
/* FIONREAD should really do the same thing as TIOCINQ, where it is
|
||||||
* not available */
|
* not available */
|
||||||
#ifndef TIOCINQ
|
#ifndef TIOCINQ
|
||||||
#include <sys/filio.h>
|
|
||||||
#define TIOCINQ FIONREAD
|
#define TIOCINQ FIONREAD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user