From 44ecb41593bc627d8f4529e74de4a549cf24a695 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 21 Nov 2016 00:43:52 +0100 Subject: build: don't add subdirectories to include search path but require qualified include Keep the include paths clean and separate. We use directories to group source files together. That makes sense (I guess), but then we should use this grouping also when including files. Thus require to #include files with their path relative to "src/". Also, we build various artifacts from the "src/" tree. Instead of having individual CFLAGS for each artifact in Makefile.am, the CFLAGS should be unified. Previously, the CFLAGS for each artifact differ and are inconsistent in which paths they add to the search path. Fix the inconsistency by just don't add the paths at all. --- src/nm-audit-manager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nm-audit-manager.h') diff --git a/src/nm-audit-manager.h b/src/nm-audit-manager.h index d157ff122a..29bde1a50d 100644 --- a/src/nm-audit-manager.h +++ b/src/nm-audit-manager.h @@ -22,7 +22,7 @@ #define __NM_AUDIT_MANAGER_H__ #include "nm-connection.h" -#include "nm-device.h" +#include "devices/nm-device.h" #include "nm-types.h" #define NM_TYPE_AUDIT_MANAGER (nm_audit_manager_get_type ()) -- cgit v1.2.1