dhcp: ensure every systemd dhcp file includes 'nm-sd-adapt.h' first

This commit is contained in:
Thomas Haller 2015-02-02 12:54:13 +01:00
parent 15bebd7c51
commit 42b39b9482
24 changed files with 48 additions and 2 deletions

View file

@ -22,6 +22,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "nm-sd-adapt.h"
#include <stdint.h>
#include <linux/if_packet.h>

View file

@ -21,6 +21,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "nm-sd-adapt.h"
#include <netinet/udp.h>
#include <netinet/ip.h>
#include <stdint.h>

View file

@ -21,6 +21,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "nm-sd-adapt.h"
#include <netinet/ip6.h>
#include <netinet/udp.h>

View file

@ -21,6 +21,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "nm-sd-adapt.h"
int asynchronous_job(void* (*func)(void *p), void *arg);
int asynchronous_sync(void);

View file

@ -20,6 +20,9 @@
You should have received a copy of the GNU Lesser General Public License
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "nm-sd-adapt.h"
#include <stddef.h>
#include <stdio.h>

View file

@ -21,6 +21,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "nm-sd-adapt.h"
#include <netinet/in.h>
#include "macro.h"

View file

@ -21,6 +21,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "nm-sd-adapt.h"
/* The head of the linked list. Use this in the structure that shall
* contain the head of the linked list */
#define LIST_HEAD(t,name) \

View file

@ -21,6 +21,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "nm-sd-adapt.h"
#include <assert.h>
#include <sys/param.h>
#include <sys/types.h>

View file

@ -21,6 +21,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "nm-sd-adapt.h"
/* A type-safe atomic refcounter */
typedef struct {

View file

@ -14,6 +14,7 @@
(Minimal changes made by Lennart Poettering, to make clean for inclusion in systemd)
*/
#include "nm-sd-adapt.h"
#include <stdint.h>

View file

@ -1,5 +1,7 @@
#pragma once
#include "nm-sd-adapt.h"
#include <inttypes.h>
#include <sys/types.h>

View file

@ -21,6 +21,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "nm-sd-adapt.h"
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/ether.h>

View file

@ -21,6 +21,8 @@
#ifndef SPARSE_ENDIAN_H
#define SPARSE_ENDIAN_H
#include "nm-sd-adapt.h"
#include <byteswap.h>
#include <endian.h>
#include <stdint.h>

View file

@ -21,6 +21,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "nm-sd-adapt.h"
#include <stdarg.h>
#include <stdbool.h>

View file

@ -21,14 +21,14 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "nm-sd-adapt.h"
#include <stdio.h>
#include <inttypes.h>
typedef uint64_t usec_t;
typedef uint64_t nsec_t;
#include "nm-sd-adapt.h"
#define NSEC_FMT "%" PRIu64
#define USEC_FMT "%" PRIu64

View file

@ -21,6 +21,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "nm-sd-adapt.h"
#include <stdint.h>
static inline uint16_t unaligned_read_be16(const void *_u) {

View file

@ -21,6 +21,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "nm-sd-adapt.h"
#include <stdbool.h>
#include "macro.h"

View file

@ -22,6 +22,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "nm-sd-adapt.h"
/* This is a private header; never even think of including this directly! */
#if __INCLUDE_LEVEL__ <= 1

View file

@ -22,6 +22,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "nm-sd-adapt.h"
#include <netinet/in.h>
#include <net/ethernet.h>

View file

@ -23,6 +23,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "nm-sd-adapt.h"
#include <netinet/in.h>
#include <net/ethernet.h>

View file

@ -22,6 +22,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "nm-sd-adapt.h"
#include <net/ethernet.h>
#include "sd-event.h"

View file

@ -23,6 +23,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "nm-sd-adapt.h"
#include <netinet/in.h>
typedef struct sd_dhcp6_lease sd_dhcp6_lease;

View file

@ -22,6 +22,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "nm-sd-adapt.h"
#include <sys/types.h>
#include <sys/signalfd.h>
#include <sys/epoll.h>

View file

@ -22,6 +22,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "nm-sd-adapt.h"
#include <inttypes.h>
#include <string.h>