diff options
Diffstat (limited to 'src/systemd/sd-adapt')
| -rw-r--r-- | src/systemd/sd-adapt/nm-sd-adapt.h | 3 | ||||
| -rw-r--r-- | src/systemd/sd-adapt/unaligned.h | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/systemd/sd-adapt/nm-sd-adapt.h b/src/systemd/sd-adapt/nm-sd-adapt.h index 3a4125a0..380cbc60 100644 --- a/src/systemd/sd-adapt/nm-sd-adapt.h +++ b/src/systemd/sd-adapt/nm-sd-adapt.h @@ -142,6 +142,8 @@ G_STMT_START { \ # endif #endif +#define VALGRIND 0 + static inline pid_t raw_getpid (void) { #if defined(__alpha__) @@ -178,7 +180,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 diff --git a/src/systemd/sd-adapt/unaligned.h b/src/systemd/sd-adapt/unaligned.h new file mode 100644 index 00000000..17dc0444 --- /dev/null +++ b/src/systemd/sd-adapt/unaligned.h @@ -0,0 +1,3 @@ +#pragma once + +#include "nm-utils/unaligned.h" |