diff options
author | Kay Sievers <kay.sievers@suse.de> | 2006-05-01 20:36:21 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2006-05-01 20:36:21 +0200 |
commit | 9571122e00f54b5d6e5accda4c431ac6ae5c4847 (patch) | |
tree | eead6adf7ea0ffb0ff4b1ad1d8425ae824124dd8 | |
parent | 5263fb3464fdb43b1ca0eb6e7b71eb4ff91c6a17 (diff) |
fix offsetof() build issue with recent glibc
-rw-r--r-- | udevcontrol.c | 9 | ||||
-rw-r--r-- | udevmonitor.c | 1 | ||||
-rw-r--r-- | udevsend.c | 1 |
3 files changed, 5 insertions, 6 deletions
diff --git a/udevcontrol.c b/udevcontrol.c index 6d91adc1c4..8add09e031 100644 --- a/udevcontrol.c +++ b/udevcontrol.c @@ -18,10 +18,6 @@ * */ -#include <sys/types.h> -#include <sys/socket.h> -#include <sys/wait.h> -#include <sys/un.h> #include <time.h> #include <errno.h> #include <stdio.h> @@ -29,7 +25,10 @@ #include <stddef.h> #include <string.h> #include <unistd.h> -#include <linux/stddef.h> +#include <sys/types.h> +#include <sys/socket.h> +#include <sys/wait.h> +#include <sys/un.h> #include "udev.h" #include "udevd.h" diff --git a/udevmonitor.c b/udevmonitor.c index 80c49753f5..fb1f42cc01 100644 --- a/udevmonitor.c +++ b/udevmonitor.c @@ -21,6 +21,7 @@ #include <unistd.h> #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <string.h> #include <fcntl.h> #include <errno.h> diff --git a/udevsend.c b/udevsend.c index 1b9860baca..9f5059a4c8 100644 --- a/udevsend.c +++ b/udevsend.c @@ -30,7 +30,6 @@ #include <sys/socket.h> #include <sys/wait.h> #include <sys/un.h> -#include <linux/stddef.h> #include "udev.h" #include "udevd.h" |