summaryrefslogtreecommitdiff
path: root/src/libudev/libudev-private.h
diff options
context:
space:
mode:
authorEric Le Bihan <eric.le.bihan.dev@free.fr>2014-04-02 11:51:40 +0200
committerAnthony G. Basile <blueness@gentoo.org>2014-04-04 13:36:54 -0400
commitc4c265804080234bd1fd47f8c5bf9e58aeca677a (patch)
treede048069ccc57f695566ed762bd47b4be9198e41 /src/libudev/libudev-private.h
parenta1a5424a623eabb11da4aa5d4614f3c5bf22ff82 (diff)
libudev: Fix redefinition of usec_t and nsec_t.
The type definitions usec_t and nsec_t where defined twice: in path-util.h and util.h. time-util.h and time-util.c now gather the time-related functions and definitions (as in upstream systemd). Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/libudev-private.h')
-rw-r--r--src/libudev/libudev-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libudev/libudev-private.h b/src/libudev/libudev-private.h
index af0f125c73..511ec5e22b 100644
--- a/src/libudev/libudev-private.h
+++ b/src/libudev/libudev-private.h
@@ -27,6 +27,7 @@
#include "libudev.h"
#include "macro.h"
+#include "time-util.h"
#include "util.h"
#include "mkdir.h"
#include "strxcpyx.h"