certi-cvs
[Top][All Lists]
Advanced

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

[certi-cvs] certi/libCERTI Socket.hh


From: CERTI CVS commits
Subject: [certi-cvs] certi/libCERTI Socket.hh
Date: Wed, 22 Jan 2014 09:35:58 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      14/01/22 09:35:58

Modified files:
        libCERTI       : Socket.hh 

Log message:
        Avoid including unistd.h on Windows

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/Socket.hh?cvsroot=certi&r1=3.22&r2=3.23

Patches:
Index: Socket.hh
===================================================================
RCS file: /sources/certi/certi/libCERTI/Socket.hh,v
retrieving revision 3.22
retrieving revision 3.23
diff -u -b -r3.22 -r3.23
--- Socket.hh   27 Sep 2013 13:04:33 -0000      3.22
+++ Socket.hh   22 Jan 2014 09:35:58 -0000      3.23
@@ -37,13 +37,13 @@
 # include <netinet/tcp.h>
 # include <netdb.h>
 typedef int SOCKET;
+#include <unistd.h>
 #endif
 
 #ifndef MAXHOSTNAMELEN
 #define MAXHOSTNAMELEN 4096
 #endif
 
-#include <unistd.h>
 #include <cstring>
 #include <cerrno>
 #include <string>



reply via email to

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