diff options
author | Lukas Larsson <[email protected]> | 2014-11-25 11:53:24 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2014-11-25 11:53:24 +0100 |
commit | c181536aabe2140d3547ba34c6b7ef2ae0109c65 (patch) | |
tree | e8e7d7844481b19fb6726146c166eee9c9edf30e /erts/epmd/src/epmd_int.h | |
parent | 872fa86ddebbc84b07dc5426d25f7fb300731f52 (diff) | |
parent | 5db2345baa3bb9c835f91aafac3dde6e595debc7 (diff) | |
download | otp-c181536aabe2140d3547ba34c6b7ef2ae0109c65.tar.gz otp-c181536aabe2140d3547ba34c6b7ef2ae0109c65.tar.bz2 otp-c181536aabe2140d3547ba34c6b7ef2ae0109c65.zip |
Merge branch 'lem/epmd_sd_notify/OTP-12321' into maint
* lem/epmd_sd_notify/OTP-12321:
epmd: Unify systemd autoconf macros usage
epmd: Added systemd notify support to EPMD
Diffstat (limited to 'erts/epmd/src/epmd_int.h')
-rw-r--r-- | erts/epmd/src/epmd_int.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/erts/epmd/src/epmd_int.h b/erts/epmd/src/epmd_int.h index c8f2192f7f..52badd7086 100644 --- a/erts/epmd/src/epmd_int.h +++ b/erts/epmd/src/epmd_int.h @@ -125,9 +125,9 @@ # include "sys/select.h" #endif -#ifdef HAVE_SYSTEMD_SD_DAEMON_H +#ifdef HAVE_SYSTEMD_DAEMON # include <systemd/sd-daemon.h> -#endif +#endif /* HAVE_SYSTEMD_DAEMON */ /* ************************************************************************ */ /* Replace some functions by others by making the function name a macro */ @@ -340,9 +340,9 @@ typedef struct { int listenfd[MAX_LISTEN_SOCKETS]; char *addresses; char **argv; -#ifdef HAVE_SYSTEMD_SD_DAEMON_H +#ifdef HAVE_SYSTEMD_DAEMON int is_systemd; -#endif +#endif /* HAVE_SYSTEMD_DAEMON */ } EpmdVars; void dbg_printf(EpmdVars*,int,const char*,...); |