diff options
author | David Teigland <teigland@redhat.com> | 2015-05-21 11:24:37 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2015-05-28 16:36:16 -0500 |
commit | 38d63df99c693cc2565eb234057433a6ec48fd41 (patch) | |
tree | 875bc44db2ce00ab39e35042c3190e01fb283681 | |
parent | 046b838cc5727fc2f9fa3b7b56d28bd4c87c7b9b (diff) | |
download | lvm2-38d63df99c693cc2565eb234057433a6ec48fd41.tar.gz |
lvmlockd: put GNU_SOURCE in source files
-rw-r--r-- | daemons/lvmlockd/Makefile.in | 2 | ||||
-rw-r--r-- | daemons/lvmlockd/lvmlockd-dlm.c | 1 | ||||
-rw-r--r-- | daemons/lvmlockd/lvmlockd-sanlock.c | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/daemons/lvmlockd/Makefile.in b/daemons/lvmlockd/Makefile.in index e61e2a6d1..dcb8a92c6 100644 --- a/daemons/lvmlockd/Makefile.in +++ b/daemons/lvmlockd/Makefile.in @@ -32,7 +32,7 @@ LVMLIBS = -ldaemonserver $(LVMINTERNAL_LIBS) -ldevmapper LIBS += $(PTHREAD_LIBS) -ldlm_lt -lsanlock_client LDFLAGS += -L$(top_builddir)/libdaemon/server -CLDFLAGS += -L$(top_builddir)/libdaemon/server -D_GNU_SOURCE +CLDFLAGS += -L$(top_builddir)/libdaemon/server lvmlockd: $(OBJECTS) $(top_builddir)/libdaemon/client/libdaemonclient.a \ $(top_builddir)/libdaemon/server/libdaemonserver.a diff --git a/daemons/lvmlockd/lvmlockd-dlm.c b/daemons/lvmlockd/lvmlockd-dlm.c index c1cc401d5..ffd7efd0c 100644 --- a/daemons/lvmlockd/lvmlockd-dlm.c +++ b/daemons/lvmlockd/lvmlockd-dlm.c @@ -10,6 +10,7 @@ #define _XOPEN_SOURCE 500 /* pthread */ #define _ISOC99_SOURCE +#define _GNU_SOURCE #include <assert.h> #include <pthread.h> diff --git a/daemons/lvmlockd/lvmlockd-sanlock.c b/daemons/lvmlockd/lvmlockd-sanlock.c index b9fe93471..94d2d5246 100644 --- a/daemons/lvmlockd/lvmlockd-sanlock.c +++ b/daemons/lvmlockd/lvmlockd-sanlock.c @@ -10,6 +10,7 @@ #define _XOPEN_SOURCE 500 /* pthread */ #define _ISOC99_SOURCE +#define _GNU_SOURCE #include <assert.h> #include <pthread.h> |