diff options
Diffstat (limited to 'include/my_service_manager.h')
-rw-r--r-- | include/my_service_manager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/my_service_manager.h b/include/my_service_manager.h index 4d88e992b5e..d9f41ace4d5 100644 --- a/include/my_service_manager.h +++ b/include/my_service_manager.h @@ -24,7 +24,9 @@ sd-daemon.h may include inttypes.h. Explicitly request format macros before the first inclusion of inttypes.h. */ +#if !defined(__STDC_FORMAT_MACROS) #define __STDC_FORMAT_MACROS +#endif // !defined(__STDC_FORMAT_MACROS) #include <systemd/sd-daemon.h> /** INTERVAL in seconds followed by printf style status */ #define service_manager_extend_timeout(INTERVAL, FMTSTR, ...) \ |