[grisbi-cvs] grisbi/src include.h,1.37,1.38

Mickaƫl Remars mykeul at users.sourceforge.net
Sun Aug 23 23:40:46 CEST 2009


Update of /cvsroot/grisbi/grisbi/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv11007

Modified Files:
	include.h 
Log Message:
* do not #include <unistd.h> when compiling with msvc
* removed useless #include of openssl (already included where needed)

Index: include.h
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/include.h,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- include.h	17 Jan 2009 07:23:53 -0000	1.37
+++ include.h	23 Aug 2009 21:40:44 -0000	1.38
@@ -18,7 +18,9 @@
 #include <sys/timeb.h>
 #include <time.h>
 #include <sys/stat.h>
-#include <unistd.h>
+#ifndef _MSC_VER
+#	include <unistd.h>
+#endif//_MSC_VER
 #include <fcntl.h>
 #include <pwd.h>
 #include <signal.h>
@@ -33,10 +35,6 @@
 #include <glib/gstdio.h>
 #include <gdk-pixbuf/gdk-pixdata.h>
 
-#ifndef NOSSL
-#  include <openssl/des.h>
-#endif
-
 /* Define gettext functions */
 #ifdef ENABLE_NLS
 #  include <libintl.h>



More information about the cvs mailing list