summaryrefslogtreecommitdiff
path: root/udevcontrol.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-05-01 20:36:21 +0200
committerKay Sievers <kay.sievers@suse.de>2006-05-01 20:36:21 +0200
commit9571122e00f54b5d6e5accda4c431ac6ae5c4847 (patch)
treeeead6adf7ea0ffb0ff4b1ad1d8425ae824124dd8 /udevcontrol.c
parent5263fb3464fdb43b1ca0eb6e7b71eb4ff91c6a17 (diff)
fix offsetof() build issue with recent glibc
Diffstat (limited to 'udevcontrol.c')
-rw-r--r--udevcontrol.c9
1 files changed, 4 insertions, 5 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"