about summary refs log tree commit diff
path: root/src/systemd/sd-adapt/nm-sd-adapt.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2018-10-21 03:00:34 +0200
committerMichael Biebl <biebl@debian.org>2018-10-21 03:00:34 +0200
commit1f85f9683a41ca116af20fd19940576040303080 (patch)
tree54c4ac337fe0b0091772b7ef6a22c715dd985fab /src/systemd/sd-adapt/nm-sd-adapt.h
parenteca0cfe89a2a7ec88abe9c03075160f46b338137 (diff)
parent5554398639fa9e344bd12205a64874e6436b936e (diff)
Merge branch 'experimental'
Diffstat (limited to 'src/systemd/sd-adapt/nm-sd-adapt.h')
-rw-r--r--src/systemd/sd-adapt/nm-sd-adapt.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/systemd/sd-adapt/nm-sd-adapt.h b/src/systemd/sd-adapt/nm-sd-adapt.h
index 380cbc60..e163eeda 100644
--- a/src/systemd/sd-adapt/nm-sd-adapt.h
+++ b/src/systemd/sd-adapt/nm-sd-adapt.h
@@ -26,10 +26,6 @@
 #include <sys/resource.h>
 #include <time.h>
 
-#ifndef CLOCK_BOOTTIME
-#define CLOCK_BOOTTIME 7
-#endif
-
 #if defined(HAVE_DECL_REALLOCARRAY) && HAVE_DECL_REALLOCARRAY == 1
 #define HAVE_REALLOCARRAY 1
 #else
@@ -180,15 +176,6 @@ sd_notify (int unset_environment, const char *state)
 #define MAX_HANDLE_SZ 128
 #endif
 
-/*
- * Some toolchains (E.G. uClibc 0.9.33 and earlier) don't export
- * CLOCK_BOOTTIME even though the kernel supports it, so provide a
- * local definition
- */
-#ifndef CLOCK_BOOTTIME
-#define CLOCK_BOOTTIME 7
-#endif
-
 #include "sd-id128.h"
 #include "sparse-endian.h"
 #include "async.h"