From 2d8ecf2c9b8321df0aee97242971f4432e1eb2a1 Mon Sep 17 00:00:00 2001 From: Preston Pfarner Date: Wed, 30 Jun 2010 01:30:45 +0000 Subject: [PATCH] Older CentOS 5.* boxes need a special flag to enable strndup() git-svn-id: https://lwes.svn.sourceforge.net/svnroot/lwes/lwes-journaller/trunk@509 a2f82657-cdd2-4550-bd36-68a8e7111808 --- src/opt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opt.c b/src/opt.c index e364e1c..f5578d4 100644 --- a/src/opt.c +++ b/src/opt.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, * * Boston, MA 02110-1301 USA. * *======================================================================*/ +#define _GNU_SOURCE #include "config.h" #include "log.h" @@ -26,7 +27,6 @@ #include #endif -#define _GNU_SOURCE #include #include #include -- 2.11.4.GIT