diff options
Diffstat (limited to 'src/systemd.c')
-rw-r--r-- | src/systemd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/systemd.c b/src/systemd.c index 29d626bc..747e6a83 100644 --- a/src/systemd.c +++ b/src/systemd.c @@ -15,6 +15,8 @@ * limitations under the License. */ +#if WITH_SYSTEMD + #define _GNU_SOURCE #include <unistd.h> @@ -113,3 +115,4 @@ int systemd_fds_for(const char *name) return -1; } +#endif |