diff options
author | David Teigland <teigland@redhat.com> | 2015-05-21 11:24:37 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2015-06-23 17:08:51 -0500 |
commit | 9db4e049cc4e3f20b0ae63894b5adca628baad13 (patch) | |
tree | d18a5c369a6dff00f552eaa3172518e1ca6f160b | |
parent | 597fabb9f51a596e9c230fcf66177be7e1dd4005 (diff) | |
download | lvm2-9db4e049cc4e3f20b0ae63894b5adca628baad13.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> |