Sophie

Sophie

distrib > Mageia > 2 > x86_64 > by-pkgid > d652300a2a15be058f37bc9157e72c20 > files > 3

libmemcache-1.4.0-0.rc2.7.mga1.src.rpm

Index: configure.ac
===================================================================
--- configure.ac.orig
+++ configure.ac
@@ -16,6 +16,7 @@
 AC_CANONICAL_BUILD
 AC_CANONICAL_HOST
 AC_CANONICAL_TARGET
+AC_GNU_SOURCE
 
 MEMCACHE_MAJOR_VERSION=1
 MEMCACHE_MINOR_VERSION=4
Index: src/memcache.c
===================================================================
--- src/memcache.c.orig
+++ src/memcache.c
@@ -39,13 +39,6 @@
 #include <sysexits.h>
 #include <errno.h>
 #include <sys/types.h>
-#ifdef __linux
-# ifndef __USE_POSIX
-#  define __USE_POSIX
-#warning "Working around busted-ass Linux header include problems: use FreeBSD instead"
-#warning "http://www.FreeBSD.org/ - you won't regret it"
-# endif
-#endif
 #include <sys/time.h>
 #include <sys/socket.h>
 #include <sys/uio.h>