diff options
Diffstat (limited to 'systemd/id128.c')
-rw-r--r-- | systemd/id128.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/systemd/id128.c b/systemd/id128.c index 0669ab2..f5d6aa6 100644 --- a/systemd/id128.c +++ b/systemd/id128.c @@ -20,7 +20,16 @@ #include <Python.h> -#include "systemd/sd-messages.h" +/* Our include is first, so that our defines are replaced by the ones + * from the system header. If the system header has the same definitions + * (or does not have them at all), this replacement is silent. If the + * system header has a different definition, we get a warning. A warning + * means that the system headers changed incompatibly, and we should update + * our definition. + */ +#include "id128-defines.h" +#include <systemd/sd-messages.h> + #include "pyutil.h" #include "macro.h" |