[lttng-dev] [PATCH lttng-ust] Fix: missing _GNU_SOURCE define
Jonathan Rajotte
jonathan.rajotte-julien at efficios.com
Mon Jan 4 17:31:57 EST 2016
O_CLOEXEC require _GNU_SOURCE.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
---
liblttng-ust/lttng-ust-elf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/liblttng-ust/lttng-ust-elf.c b/liblttng-ust/lttng-ust-elf.c
index dcae966..e906269 100644
--- a/liblttng-ust/lttng-ust-elf.c
+++ b/liblttng-ust/lttng-ust-elf.c
@@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#define _GNU_SOURCE
#include <helper.h>
#include <string.h>
#include <lttng/align.h>
--
2.5.0
More information about the lttng-dev
mailing list