mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 05:18:23 +02:00
daemon-helper: include "libnm-std-aux/nm-default-std.h" as first in "nm-daemon-helper.c"
All our sources should include one of the "nm-default*.h" headers first. That one drags in <config.h>, which must be included first and a few other basics. Which is the right "nm-default*.h" header depends on the component. In case of "nm-daemon-helper.c", it's "libnm-std-aux/nm-default-std.h".
This commit is contained in:
parent
0b7dc4137d
commit
501a7a3d00
1 changed files with 2 additions and 2 deletions
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
/* Copyright (C) 2021 Red Hat, Inc. */
|
||||
|
||||
#include "libnm-std-aux/nm-default-std.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <arpa/inet.h>
|
||||
|
|
@ -10,8 +12,6 @@
|
|||
#include <nss.h>
|
||||
#endif
|
||||
|
||||
#include "libnm-std-aux/nm-std-aux.h"
|
||||
|
||||
enum {
|
||||
RETURN_SUCCESS = 0,
|
||||
RETURN_INVALID_CMD = 1,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue