summaryrefslogtreecommitdiff
path: root/src/firstboot
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-06-29 16:26:49 +0900
committerLennart Poettering <lennart@poettering.net>2018-06-29 11:40:15 +0200
commit545cdb90f376c68777fda58d1e718b355d2280fd (patch)
treee3bc194e51e520b7a0e3237ff494b8054f988282 /src/firstboot
parentcc7d50a5714bc810af51b0c55be12b4f55acc089 (diff)
downloadsystemd-545cdb90f376c68777fda58d1e718b355d2280fd.tar.gz
tree-wide: use instead of #ifdef for HAVE_*
Diffstat (limited to 'src/firstboot')
-rw-r--r--src/firstboot/firstboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firstboot/firstboot.c b/src/firstboot/firstboot.c
index a98e53b3a3..825b67e87e 100644
--- a/src/firstboot/firstboot.c
+++ b/src/firstboot/firstboot.c
@@ -4,7 +4,7 @@
#include <getopt.h>
#include <unistd.h>
-#ifdef HAVE_CRYPT_H
+#if HAVE_CRYPT_H
/* libxcrypt is a replacement for glibc's libcrypt, and libcrypt might be
* removed from glibc at some point. As part of the removal, defines for
* crypt(3) are dropped from unistd.h, and we must include crypt.h instead.