]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bus: include sd-{bus,messages}.h the same as other systemd headers 5756/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 5 Apr 2017 22:50:13 +0000 (18:50 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 21 Apr 2017 16:05:55 +0000 (12:05 -0400)
This is our own header, we should include use the local-include syntax
("" not <>), to make it clear we are including the one from the build tree.
All other includes of files from src/systemd/ use this scheme.

src/libsystemd/sd-bus/test-bus-track.c
src/resolve/resolved-dns-server.c
src/resolve/resolved-dns-transaction.c
src/resolve/resolved-dns-trust-anchor.c
src/shared/cgroup-show.c
src/shared/cgroup-show.h

index 4beb61f05a8a127bad7c18f7db7bc6e8f9d58594..06c61675113d16dcf5f3a9d302b6d48a59a31475 100644 (file)
@@ -17,7 +17,7 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#include <sd-bus.h>
+#include "sd-bus.h"
 
 #include "macro.h"
 
index 5498f7b9cbdcd0f985f626a9652a64b16383b857..63cb6a5bda6a6e39826366a700bd22d062622009 100644 (file)
@@ -17,7 +17,7 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#include <sd-messages.h>
+#include "sd-messages.h"
 
 #include "alloc-util.h"
 #include "resolved-dns-server.h"
index ff2ad9c1de4fc54b9cd92ad28be839d0d70fb9c1..3075f62b5e26fe09009cb23bbfefaaa2a09bd25e 100644 (file)
@@ -17,7 +17,7 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#include <sd-messages.h>
+#include "sd-messages.h"
 
 #include "af-list.h"
 #include "alloc-util.h"
index 7e9f9e5a2075d5dd22edb1533771e29b2f3bc8ee..dda98750632c496733d1349170f30027f3f9828e 100644 (file)
@@ -17,7 +17,7 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#include <sd-messages.h>
+#include "sd-messages.h"
 
 #include "alloc-util.h"
 #include "conf-files.h"
index 8765cf2f49d4997e06b4ab044c1c355eefbe7580..436130edea665e4f1159b782ecc7558387fd1e59 100644 (file)
@@ -24,8 +24,6 @@
 #include <stdlib.h>
 #include <string.h>
 
-#include <systemd/sd-bus.h>
-
 #include "alloc-util.h"
 #include "bus-error.h"
 #include "bus-util.h"
index 736f0f34c88ff528a730c7566a07110e2b6b7b42..1764f76744578f25c75572208d4feace1a08eca6 100644 (file)
@@ -22,7 +22,7 @@
 #include <stdbool.h>
 #include <sys/types.h>
 
-#include <systemd/sd-bus.h>
+#include "sd-bus.h"
 
 #include "logs-show.h"
 #include "output-mode.h"