diff options
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/port-uw.c | 4 | ||||
-rw-r--r-- | openbsd-compat/xcrypt.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/openbsd-compat/port-uw.c b/openbsd-compat/port-uw.c index ebc229a6a..be9905a6a 100644 --- a/openbsd-compat/port-uw.c +++ b/openbsd-compat/port-uw.c | |||
@@ -25,7 +25,7 @@ | |||
25 | 25 | ||
26 | #include "includes.h" | 26 | #include "includes.h" |
27 | 27 | ||
28 | #ifdef HAVE_LIBIAF | 28 | #if defined(HAVE_LIBIAF) && !defined(HAVE_SECUREWARE) |
29 | #include <sys/types.h> | 29 | #include <sys/types.h> |
30 | #ifdef HAVE_CRYPT_H | 30 | #ifdef HAVE_CRYPT_H |
31 | # include <crypt.h> | 31 | # include <crypt.h> |
@@ -145,5 +145,5 @@ get_iaf_password(struct passwd *pw) | |||
145 | fatal("ia_openinfo: Unable to open the shadow passwd file"); | 145 | fatal("ia_openinfo: Unable to open the shadow passwd file"); |
146 | } | 146 | } |
147 | #endif /* USE_LIBIAF */ | 147 | #endif /* USE_LIBIAF */ |
148 | #endif /* HAVE_LIBIAF */ | 148 | #endif /* HAVE_LIBIAF and not HAVE_SECUREWARE */ |
149 | 149 | ||
diff --git a/openbsd-compat/xcrypt.c b/openbsd-compat/xcrypt.c index d8636bb39..6291e2884 100644 --- a/openbsd-compat/xcrypt.c +++ b/openbsd-compat/xcrypt.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <unistd.h> | 28 | #include <unistd.h> |
29 | #include <pwd.h> | 29 | #include <pwd.h> |
30 | 30 | ||
31 | # ifdef HAVE_CRYPT_H | 31 | # if defined(HAVE_CRYPT_H) && !defined(HAVE_SECUREWARE) |
32 | # include <crypt.h> | 32 | # include <crypt.h> |
33 | # endif | 33 | # endif |
34 | 34 | ||