Fix some makefiles imported after we switched to a global standardized
include path in AM_CPPFLAGS.
Change-Id: Ibb02293f86848b968c4fe190b137e562f94e83b4
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
# SPDX-License-Identifier: LGPL-2.1-only
-AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
AM_CFLAGS += -fno-strict-aliasing
noinst_LTLIBRARIES = libcounter.la
* Copyright (C) 2020 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*/
-#define _GNU_SOURCE
#include <errno.h>
#include "counter.h"
#include "counter-internal.h"
*/
#define _LGPL_SOURCE
-#include <config.h>
#include "shm.h"
#include <unistd.h>
#include <fcntl.h>
* Copyright (C) 2019 Michael Jeanson <mjeanson@efficios.com>
*/
-#define _GNU_SOURCE
#define _LGPL_SOURCE
#include <unistd.h>
# SPDX-License-Identifier: LGPL-2.1-only
-AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
AM_CFLAGS += -fno-strict-aliasing
noinst_LTLIBRARIES = libmsgpack.la
* Copyright (C) 2020 Francis Deslauriers <francis.deslauriers@efficios.com>
*/
-#define _GNU_SOURCE
#define _LGPL_SOURCE
#include <stddef.h>
# SPDX-License-Identifier: LGPL-2.1-only
-AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/tests/utils
+AM_CPPFLAGS += -I$(top_srcdir)/tests/utils
noinst_PROGRAMS = test_msgpack
test_msgpack_SOURCES = test_msgpack.c