OSSP CVS Repository

ossp - Check-in [1177]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 1177
Date: 2001-Oct-12 15:51:59 (local)
2001-Oct-12 13:51:59 (UTC)
User:rse
Branch:
Comment: portability fixes for Solaris 2.8
Tickets:
Inspections:
Files:
ossp-pkg/lmtp2nntp/configure.ac      1.14 -> 1.15     2 inserted, 0 deleted
ossp-pkg/lmtp2nntp/daemon.c      1.3 -> 1.4     5 inserted, 0 deleted

ossp-pkg/lmtp2nntp/configure.ac 1.14 -> 1.15

--- configure.ac 2001/10/04 09:51:07     1.14
+++ configure.ac 2001/10/12 13:51:59     1.15
@@ -45,6 +45,8 @@
 AC_CHECK_LIB(socket, getprotobyname)
 AC_CHECK_LIB(nsl, gethostbyname)
 AC_CHECK_FUNCS(inet_pton inet_aton)
+AC_CHECK_FUNCS(setsid)
+AC_CHECK_HEADERS(sys/termios.h)
 
 dnl #   check for Str library
 AC_CHECK_EXTLIB([OSSP Str], 


ossp-pkg/lmtp2nntp/daemon.c 1.3 -> 1.4

--- daemon.c     2001/10/04 16:07:16     1.3
+++ daemon.c     2001/10/12 13:51:59     1.4
@@ -6,11 +6,16 @@
 **  http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC10
 */
 
+#include "config.h"
+
 #include <fcntl.h>
 #include <unistd.h>
 #include <signal.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
+#ifdef HAVE_TERMIOS_H
+#include <sys/termios.h>
+#endif
 
 #include "daemon.h"
 

CVSTrac 2.0.1