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

[Cluster-devel] cluster/gnbd/server gserv.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	fabbione sourceware org	2007-08-30 18:07:58

Modified files:
	gnbd/server    : gserv.c 

Log message:
	Fix build warning

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gnbd/server/gserv.c.diff?cvsroot=cluster&r1=1.6&r2=1.7

--- cluster/gnbd/server/gserv.c	2006/09/21 20:00:01	1.6
+++ cluster/gnbd/server/gserv.c	2007/08/30 18:07:58	1.7
@@ -12,8 +12,10 @@
 
 #include <unistd.h>
 #include <stdio.h>
+#ifndef __USE_XOPEN2K
 #define __USE_XOPEN2K  /* needed to get posix_memalign */
-#include <stdlib.h>  
+#endif
+#include <stdlib.h> 
 #include <string.h>
 #include <errno.h>
 #include <syslog.h>


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