diff --git a/src/nm-core-utils.c b/src/nm-core-utils.c index 54ccdb836d..71370985b2 100644 --- a/src/nm-core-utils.c +++ b/src/nm-core-utils.c @@ -45,15 +45,6 @@ #include "nm-setting-wireless.h" #include "nm-setting-wireless-security.h" -/* - * 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 - G_STATIC_ASSERT (sizeof (NMUtilsTestFlags) <= sizeof (int)); static int _nm_utils_testing = 0; diff --git a/src/systemd/sd-adapt/nm-sd-adapt.h b/src/systemd/sd-adapt/nm-sd-adapt.h index 380cbc60e2..e163eedab6 100644 --- a/src/systemd/sd-adapt/nm-sd-adapt.h +++ b/src/systemd/sd-adapt/nm-sd-adapt.h @@ -26,10 +26,6 @@ #include #include -#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" diff --git a/src/tests/test-general-with-expect.c b/src/tests/test-general-with-expect.c index a78b531195..ba8e3ce4cb 100644 --- a/src/tests/test-general-with-expect.c +++ b/src/tests/test-general-with-expect.c @@ -32,10 +32,6 @@ #include "nm-test-utils-core.h" -#ifndef CLOCK_BOOTTIME -#define CLOCK_BOOTTIME 7 -#endif - /*****************************************************************************/ static void