summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-macvlan.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-11-21 00:43:52 +0100
committerThomas Haller <thaller@redhat.com>2016-11-21 14:26:37 +0100
commit44ecb41593bc627d8f4529e74de4a549cf24a695 (patch)
treedbaecdedb38a3a533a0a05a19fcc208dfb2b3b7a /src/devices/nm-device-macvlan.c
parenta65762ca332ee9ba5b80e66c901e5e82bc90f135 (diff)
downloadNetworkManager-44ecb41593bc627d8f4529e74de4a549cf24a695.tar.gz
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.
Diffstat (limited to 'src/devices/nm-device-macvlan.c')
-rw-r--r--src/devices/nm-device-macvlan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/nm-device-macvlan.c b/src/devices/nm-device-macvlan.c
index 7b240ec6ae..3ca3f9cd73 100644
--- a/src/devices/nm-device-macvlan.c
+++ b/src/devices/nm-device-macvlan.c
@@ -25,10 +25,10 @@
#include <string.h>
#include "nm-device-private.h"
-#include "nm-settings.h"
+#include "settings/nm-settings.h"
#include "nm-act-request.h"
#include "nm-manager.h"
-#include "nm-platform.h"
+#include "platform/nm-platform.h"
#include "nm-device-factory.h"
#include "nm-setting-macvlan.h"
#include "nm-setting-wired.h"