diff options
author | Charles Longeau <github@chl.be> | 2013-11-13 16:10:44 +0100 |
---|---|---|
committer | Charles Longeau <github@chl.be> | 2013-11-13 16:10:44 +0100 |
commit | 1f081da9ac4433d58a9cd9d29b7024771b87ed30 (patch) | |
tree | 9d54bdb3d1921a8078bfd2fd769b39d2d929c950 /contrib | |
parent | sync with latest asr changes (diff) | |
download | OpenSMTPD-1f081da9ac4433d58a9cd9d29b7024771b87ed30.tar.xz OpenSMTPD-1f081da9ac4433d58a9cd9d29b7024771b87ed30.zip |
enclose #include <crypt.h> whithin #ifdef HAVE_CRYPT_H. Should fix build issue reported by <ElBarto>.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/libexec/encrypt/encrypt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/libexec/encrypt/encrypt.c b/contrib/libexec/encrypt/encrypt.c index c8ed680e..27ea15cf 100644 --- a/contrib/libexec/encrypt/encrypt.c +++ b/contrib/libexec/encrypt/encrypt.c @@ -17,7 +17,9 @@ #include "includes.h" +#ifdef HAVE_CRYPT_H #include <crypt.h> /* needed for crypt() */ +#endif #include <stdio.h> #include <stdlib.h> #include <string.h> |