summaryrefslogtreecommitdiff
path: root/src/libudev/log.c
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/log.c
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/log.c')
-rw-r--r--src/libudev/log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libudev/log.c b/src/libudev/log.c
index 73bba69853..a4e1bcef70 100644
--- a/src/libudev/log.c
+++ b/src/libudev/log.c
@@ -30,6 +30,7 @@
#include <string.h>
#include "log.h"
+#include "time-util.h"
#include "util.h"
#include "missing.h"
#include "macro.h"