gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r711 - GNUnet/src/include


From: durner
Subject: [GNUnet-SVN] r711 - GNUnet/src/include
Date: Sat, 30 Apr 2005 02:18:18 -0700 (PDT)

Author: durner
Date: 2005-04-30 02:18:08 -0700 (Sat, 30 Apr 2005)
New Revision: 711

Modified:
   GNUnet/src/include/platform.h
   GNUnet/src/include/plibc.h
   GNUnet/src/include/winproc.h
Log:
fix

Modified: GNUnet/src/include/platform.h
===================================================================
--- GNUnet/src/include/platform.h       2005-04-29 22:30:41 UTC (rev 710)
+++ GNUnet/src/include/platform.h       2005-04-30 09:18:08 UTC (rev 711)
@@ -33,10 +33,14 @@
 #include "config.h"
 #endif
 
+#include "plibc.h"
+
 /**
  * For strptime (glibc2 needs this).
  */
+#ifndef _XOPEN_SOURCE
 #define _XOPEN_SOURCE
+#endif
 
 
 /* configuration options */

Modified: GNUnet/src/include/plibc.h
===================================================================
--- GNUnet/src/include/plibc.h  2005-04-29 22:30:41 UTC (rev 710)
+++ GNUnet/src/include/plibc.h  2005-04-30 09:18:08 UTC (rev 711)
@@ -27,13 +27,6 @@
 #ifndef _PLIBC_H_
 #define _PLIBC_H_
 
-#include <windows.h>
-#include <time.h>
-#include <stdio.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <dirent.h>
-
 #ifndef SIGALRM
  #define SIGALRM 14
 #endif
@@ -48,6 +41,13 @@
 
 #ifdef WINDOWS
 
+#include <windows.h>
+#include <time.h>
+#include <stdio.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <dirent.h>
+
 #define __BYTE_ORDER BYTE_ORDER
 #define __BIG_ENDIAN BIG_ENDIAN
 

Modified: GNUnet/src/include/winproc.h
===================================================================
--- GNUnet/src/include/winproc.h        2005-04-29 22:30:41 UTC (rev 710)
+++ GNUnet/src/include/winproc.h        2005-04-30 09:18:08 UTC (rev 711)
@@ -44,8 +44,6 @@
 #include "gnunet_util.h"
 #include "platform.h"
 
-#include "plibc.h"
-
 #ifdef __cplusplus
 extern "C" {
 #endif





reply via email to

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