From 73f860db9893deab6aebceb53dd7d0deb662e832 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 31 Jul 2014 04:15:29 -0400 Subject: Always prefer our headers to system headers In practice this shouldn't make much difference, but sometimes our headers might be newer, and we want to test them. --- src/python-systemd/_daemon.c | 2 +- src/python-systemd/_journal.c | 2 +- src/python-systemd/_reader.c | 2 +- src/python-systemd/id128.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/python-systemd') diff --git a/src/python-systemd/_daemon.c b/src/python-systemd/_daemon.c index 7756a7880..65cfec7ce 100644 --- a/src/python-systemd/_daemon.c +++ b/src/python-systemd/_daemon.c @@ -29,7 +29,7 @@ #include #include -#include +#include "systemd/sd-daemon.h" #include "pyutil.h" #include "macro.h" diff --git a/src/python-systemd/_journal.c b/src/python-systemd/_journal.c index cbc661d83..456e4a279 100644 --- a/src/python-systemd/_journal.c +++ b/src/python-systemd/_journal.c @@ -25,7 +25,7 @@ #include "util.h" #define SD_JOURNAL_SUPPRESS_LOCATION -#include +#include "systemd/sd-journal.h" PyDoc_STRVAR(journal_sendv__doc__, "sendv('FIELD=value', 'FIELD=value', ...) -> None\n\n" diff --git a/src/python-systemd/_reader.c b/src/python-systemd/_reader.c index 9a19a1021..d17aa83ec 100644 --- a/src/python-systemd/_reader.c +++ b/src/python-systemd/_reader.c @@ -25,7 +25,7 @@ #include #include -#include +#include "systemd/sd-journal.h" #include "pyutil.h" #include "macro.h" diff --git a/src/python-systemd/id128.c b/src/python-systemd/id128.c index 6dadf7b2f..5ec7309a5 100644 --- a/src/python-systemd/id128.c +++ b/src/python-systemd/id128.c @@ -21,7 +21,7 @@ #include -#include +#include "systemd/sd-messages.h" #include "pyutil.h" #include "log.h" -- cgit v1.2.3