From 9571122e00f54b5d6e5accda4c431ac6ae5c4847 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Mon, 1 May 2006 20:36:21 +0200 Subject: [PATCH] fix offsetof() build issue with recent glibc --- udevcontrol.c | 9 ++++----- udevmonitor.c | 1 + udevsend.c | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/udevcontrol.c b/udevcontrol.c index 6d91adc1c..8add09e03 100644 --- a/udevcontrol.c +++ b/udevcontrol.c @@ -18,10 +18,6 @@ * */ -#include -#include -#include -#include #include #include #include @@ -29,7 +25,10 @@ #include #include #include -#include +#include +#include +#include +#include #include "udev.h" #include "udevd.h" diff --git a/udevmonitor.c b/udevmonitor.c index 80c49753f..fb1f42cc0 100644 --- a/udevmonitor.c +++ b/udevmonitor.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include diff --git a/udevsend.c b/udevsend.c index 1b9860bac..9f5059a4c 100644 --- a/udevsend.c +++ b/udevsend.c @@ -30,7 +30,6 @@ #include #include #include -#include #include "udev.h" #include "udevd.h" -- 2.30.2