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.
This commit is contained in:
parent
5d459d6b07
commit
73f860db98
|
@ -27,7 +27,7 @@
|
|||
#include <sys/wait.h>
|
||||
#include <getopt.h>
|
||||
|
||||
#include <systemd/sd-daemon.h>
|
||||
#include "systemd/sd-daemon.h"
|
||||
|
||||
#include "socket-util.h"
|
||||
#include "build.h"
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdbool.h>
|
||||
#include <systemd/sd-journal.h>
|
||||
#include "systemd/sd-journal.h"
|
||||
|
||||
#include "util.h"
|
||||
#include "fileio.h"
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include <fcntl.h>
|
||||
#include <sys/mount.h>
|
||||
|
||||
#include <systemd/sd-id128.h>
|
||||
#include "systemd/sd-id128.h"
|
||||
|
||||
#include "machine-id-setup.h"
|
||||
#include "macro.h"
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#include <systemd/sd-journal.h>
|
||||
#include "systemd/sd-journal.h"
|
||||
|
||||
#include "util.h"
|
||||
#include "build.h"
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/xattr.h>
|
||||
|
||||
#include <systemd/sd-journal.h>
|
||||
#include <systemd/sd-login.h>
|
||||
#include "systemd/sd-journal.h"
|
||||
#include "systemd/sd-login.h"
|
||||
|
||||
#include "log.h"
|
||||
#include "util.h"
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <systemd/sd-journal.h>
|
||||
#include "systemd/sd-journal.h"
|
||||
|
||||
#include "build.h"
|
||||
#include "set.h"
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include "sparse-endian.h"
|
||||
|
||||
#include <systemd/sd-id128.h>
|
||||
#include "systemd/sd-id128.h"
|
||||
|
||||
#include "macro.h"
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include <gcrypt.h>
|
||||
#endif
|
||||
|
||||
#include <systemd/sd-id128.h>
|
||||
#include "systemd/sd-id128.h"
|
||||
|
||||
#include "sparse-endian.h"
|
||||
#include "journal-def.h"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include <inttypes.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include <systemd/sd-id128.h>
|
||||
#include "systemd/sd-id128.h"
|
||||
|
||||
#include "journal-def.h"
|
||||
#include "list.h"
|
||||
|
|
|
@ -25,6 +25,6 @@
|
|||
#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <systemd/sd-id128.h>
|
||||
#include "systemd/sd-id128.h"
|
||||
|
||||
int print_qr_code(FILE *f, const void *seed, size_t seed_size, uint64_t start, uint64_t interval, const char *hn, sd_id128_t machine);
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
#include "acl-util.h"
|
||||
#endif
|
||||
|
||||
#include <systemd/sd-journal.h>
|
||||
#include "systemd/sd-journal.h"
|
||||
|
||||
#include "log.h"
|
||||
#include "logs-show.h"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include <sys/mman.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <systemd/sd-messages.h>
|
||||
#include "systemd/sd-messages.h"
|
||||
#include <libudev.h>
|
||||
|
||||
#include "journald-server.h"
|
||||
|
|
|
@ -24,9 +24,9 @@
|
|||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <systemd/sd-journal.h>
|
||||
#include <systemd/sd-messages.h>
|
||||
#include <systemd/sd-daemon.h>
|
||||
#include "systemd/sd-journal.h"
|
||||
#include "systemd/sd-messages.h"
|
||||
#include "systemd/sd-daemon.h"
|
||||
|
||||
#include "journal-authenticate.h"
|
||||
#include "journald-server.h"
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
along with systemd; If not, see <http://www.gnu.org/licenses/>.
|
||||
***/
|
||||
|
||||
#include <systemd/sd-journal.h>
|
||||
#include "systemd/sd-journal.h"
|
||||
|
||||
#include "log.h"
|
||||
#include "util.h"
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#include <systemd/sd-journal.h>
|
||||
#include "systemd/sd-journal.h"
|
||||
|
||||
#include "journal-file.h"
|
||||
#include "journal-internal.h"
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <systemd/sd-journal.h>
|
||||
#include "systemd/sd-journal.h"
|
||||
|
||||
#include "journal-internal.h"
|
||||
#include "util.h"
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
along with systemd; If not, see <http://www.gnu.org/licenses/>.
|
||||
***/
|
||||
|
||||
#include <systemd/sd-journal.h>
|
||||
#include "systemd/sd-journal.h"
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#include <systemd/sd-journal.h>
|
||||
#include "systemd/sd-journal.h"
|
||||
|
||||
#include "journal-file.h"
|
||||
#include "journal-internal.h"
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <systemd/sd-journal.h>
|
||||
#include "systemd/sd-journal.h"
|
||||
|
||||
#include "log.h"
|
||||
#include "journal-file.h"
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include <sys/poll.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <systemd/sd-login.h>
|
||||
#include "systemd/sd-login.h"
|
||||
|
||||
#include "util.h"
|
||||
#include "strv.h"
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <systemd/sd-daemon.h>
|
||||
#include "systemd/sd-daemon.h"
|
||||
|
||||
#include "strv.h"
|
||||
#include "util.h"
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include <assert.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <systemd/sd-daemon.h>
|
||||
#include "systemd/sd-daemon.h"
|
||||
#include "pyutil.h"
|
||||
#include "macro.h"
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include "util.h"
|
||||
|
||||
#define SD_JOURNAL_SUPPRESS_LOCATION
|
||||
#include <systemd/sd-journal.h>
|
||||
#include "systemd/sd-journal.h"
|
||||
|
||||
PyDoc_STRVAR(journal_sendv__doc__,
|
||||
"sendv('FIELD=value', 'FIELD=value', ...) -> None\n\n"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include <time.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <systemd/sd-journal.h>
|
||||
#include "systemd/sd-journal.h"
|
||||
|
||||
#include "pyutil.h"
|
||||
#include "macro.h"
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include <Python.h>
|
||||
|
||||
#include <systemd/sd-messages.h>
|
||||
#include "systemd/sd-messages.h"
|
||||
|
||||
#include "pyutil.h"
|
||||
#include "log.h"
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
#include <sys/fanotify.h>
|
||||
#endif
|
||||
|
||||
#include <systemd/sd-daemon.h>
|
||||
#include "systemd/sd-daemon.h"
|
||||
|
||||
#include "missing.h"
|
||||
#include "util.h"
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include <getopt.h>
|
||||
#include <sys/inotify.h>
|
||||
|
||||
#include <systemd/sd-daemon.h>
|
||||
#include "systemd/sd-daemon.h"
|
||||
|
||||
#include "missing.h"
|
||||
#include "util.h"
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <sys/statvfs.h>
|
||||
#include <fnmatch.h>
|
||||
|
||||
#include <systemd/sd-id128.h>
|
||||
#include "systemd/sd-id128.h"
|
||||
#include "util.h"
|
||||
#include "condition-util.h"
|
||||
#include "virt.h"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <systemd/sd-journal.h>
|
||||
#include "systemd/sd-journal.h"
|
||||
|
||||
#include "util.h"
|
||||
#include "output-mode.h"
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
#include <fcntl.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include <systemd/sd-daemon.h>
|
||||
#include <systemd/sd-shutdown.h>
|
||||
#include "systemd/sd-daemon.h"
|
||||
#include "systemd/sd-shutdown.h"
|
||||
|
||||
#include "log.h"
|
||||
#include "macro.h"
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include <unistd.h>
|
||||
|
||||
#include <systemd/sd-daemon.h>
|
||||
#include "systemd/sd-daemon.h"
|
||||
|
||||
int main(int argc, char*argv[]) {
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include <string.h>
|
||||
|
||||
#include <systemd/sd-id128.h>
|
||||
#include "systemd/sd-id128.h"
|
||||
|
||||
#include "util.h"
|
||||
#include "macro.h"
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include <dirent.h>
|
||||
#include <getopt.h>
|
||||
|
||||
#include <systemd/sd-login.h>
|
||||
#include "systemd/sd-login.h"
|
||||
#include "logind-acl.h"
|
||||
#include "udev.h"
|
||||
#include "util.h"
|
||||
|
|
Loading…
Reference in New Issue