From 71acc30b699236191c33df8cba0e62ab97fe8d2d Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sun, 22 Dec 2013 17:25:01 +0100 Subject: [PATCH] Make everything buildable out-of-tree. --- src/Makefile.am | 2 +- src/liboconfig/utils.c | 2 +- src/liboconfig/utils.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index cde3478..53872e7 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3,7 +3,7 @@ SUBDIRS = liboconfig # coverage related flags are only set when gcov is enabled AM_CFLAGS = @STRICT_CFLAGS@ @COVERAGE_CFLAGS@ AM_LDFLAGS = @COVERAGE_LDFLAGS@ -AM_CPPFLAGS = -Iinclude +AM_CPPFLAGS = -I"${top_srcdir}/src/include" AM_CPPFLAGS += -DSYSCONFDIR='"${sysconfdir}"' AM_CPPFLAGS += -DLOCALSTATEDIR='"${localstatedir}"' AM_CPPFLAGS += -DPKGLIBDIR='"${pkglibdir}"' diff --git a/src/liboconfig/utils.c b/src/liboconfig/utils.c index c713610..1b787ad 100644 --- a/src/liboconfig/utils.c +++ b/src/liboconfig/utils.c @@ -19,7 +19,7 @@ #ifndef OCONFIG_UTILS_H #define OCONFIG_UTILS_H 1 -#include "liboconfig/oconfig.h" +#include "oconfig.h" #ifdef __cplusplus extern "C" { diff --git a/src/liboconfig/utils.h b/src/liboconfig/utils.h index 5a2ae85..d66457b 100644 --- a/src/liboconfig/utils.h +++ b/src/liboconfig/utils.h @@ -19,7 +19,7 @@ #ifndef OCONFIG_UTILS_H #define OCONFIG_UTILS_H 1 -#include "liboconfig/oconfig.h" +#include "oconfig.h" #ifdef __cplusplus extern "C" { -- 2.30.2