chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix offsetof() build issue with recent glibc
[elogind.git]
/
udevcontrol.c
diff --git
a/udevcontrol.c
b/udevcontrol.c
index bd6563531d3fd687f1cd94c6673cb3072620fd23..8add09e031ccd9dc313cb858e0a05163eb6d5b2c 100644
(file)
--- 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>
#include <time.h>
#include <errno.h>
#include <stdio.h>
@@
-29,13
+25,13
@@
#include <stddef.h>
#include <string.h>
#include <unistd.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 "udev.h"
-#include "udev_version.h"
#include "udevd.h"
#include "udevd.h"
-#include "udev_utils.h"
-#include "logging.h"
/* global variables */
static int sock = -1;
/* global variables */
static int sock = -1;