summaryrefslogtreecommitdiff
path: root/src/libudev/util.c
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-12-01 15:23:06 -0500
committerAnthony G. Basile <blueness@gentoo.org>2012-12-01 15:23:06 -0500
commit0de7e6af114aae2e19af0b3574f91de8df89a4c3 (patch)
tree4a1d37d8d6b7641d9280d64adc00414b7ba96957 /src/libudev/util.c
parent6ea07b48a52babf89d94888b13320bdf6a63a420 (diff)
Include config.h in src/libudev/Makefile.am to provide needed #define's
This commit provides needed #define's that provide structures that are found at configure time. It also reverts commit 91ce21b2d7978837b233e152ac63863a910eaf21 to avoid redefinitions of _GNU_SOURCE. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/util.c')
-rw-r--r--src/libudev/util.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libudev/util.c b/src/libudev/util.c
index 08162e2a73..d8c5bb2e1e 100644
--- a/src/libudev/util.c
+++ b/src/libudev/util.c
@@ -19,8 +19,6 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#define _GNU_SOURCE
-
#include <assert.h>
#include <string.h>
#include <unistd.h>