chiark / gitweb /
fix offsetof() build issue with recent glibc
authorKay Sievers <kay.sievers@suse.de>
Mon, 1 May 2006 18:36:21 +0000 (20:36 +0200)
committerKay Sievers <kay.sievers@suse.de>
Mon, 1 May 2006 18:36:21 +0000 (20:36 +0200)
udevcontrol.c
udevmonitor.c
udevsend.c

index 6d91adc..8add09e 100644 (file)
  *
  */
 
-#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>
 #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"
index 80c4975..fb1f42c 100644 (file)
@@ -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>
index 1b9860b..9f5059a 100644 (file)
@@ -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"