dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dotgnu-pnet-commits] pnet ChangeLog support/console.c support/serial.c


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] pnet ChangeLog support/console.c support/serial.c
Date: Sun, 03 Feb 2008 10:43:56 +0000

CVSROOT:        /cvsroot/dotgnu-pnet
Module name:    pnet
Changes by:     Klaus Treichel <ktreichel>      08/02/03 10:43:56

Modified files:
        .              : ChangeLog 
        support        : console.c serial.c 

Log message:
        Include sys/socket.h if present because it's needed for BeOS.
        (patch by Andreas Färber).
        I moved the include in the non Win32 part in console.c like it's done in
        serial.c.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pnet/ChangeLog?cvsroot=dotgnu-pnet&r1=1.3533&r2=1.3534
http://cvs.savannah.gnu.org/viewcvs/pnet/support/console.c?cvsroot=dotgnu-pnet&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/pnet/support/serial.c?cvsroot=dotgnu-pnet&r1=1.12&r2=1.13

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/ChangeLog,v
retrieving revision 1.3533
retrieving revision 1.3534
diff -u -b -r1.3533 -r1.3534
--- ChangeLog   3 Feb 2008 09:52:48 -0000       1.3533
+++ ChangeLog   3 Feb 2008 10:43:56 -0000       1.3534
@@ -3,7 +3,10 @@
        * csdoc/doc_valil.c, engine/lib_string.c: Move variable declarations
        before any non variable declaration statements for gcc2 and ANSI C
        compliance in GetClassNameInner and WithTypeToNameInner (doc_valil.c)
-       and _IL_String_FindInRange (lib_string.c).
+       and _IL_String_FindInRange (lib_string.c). (patch #6394)
+
+       * support/console.c, support/serial.c: Include sys/socket.h if present.
+       That's needed for BeOS. (patch #6397)
 
 2008-01-06  Klaus Treichel  <address@hidden>
 

Index: support/console.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/console.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- support/console.c   22 Nov 2004 10:31:50 -0000      1.12
+++ support/console.c   3 Feb 2008 10:43:56 -0000       1.13
@@ -77,6 +77,10 @@
                #define USE_TERMIOS     1
        #endif
 #endif
+/* BeOS needs socket.h */
+#ifdef HAVE_SYS_SOCKET_H
+       #include <sys/socket.h>
+#endif
 #endif
 
 #ifdef __cplusplus

Index: support/serial.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/serial.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- support/serial.c    10 Oct 2007 12:14:47 -0000      1.12
+++ support/serial.c    3 Feb 2008 10:43:56 -0000       1.13
@@ -67,6 +67,11 @@
        #include <sys/modem.h>
 #endif
 
+/* BeOS needs socket.h */
+#ifdef HAVE_SYS_SOCKET_H
+       #include <sys/socket.h>
+#endif
+
 #ifndef CRTSCTS
        #ifdef CNEW_RTSCTS
                #define CRTSCTS CNEW_RTSCTS




reply via email to

[Prev in Thread] Current Thread [Next in Thread]