1 /* 2 * Copyright (C) 2021 Yubico AB - See COPYING 3 */ 4 5 #ifndef _OPENBSD_COMPAT_H 6 #define _OPENBSD_COMPAT_H 7 8 #include <string.h> 9 10 #ifndef HAVE_STRLCPY 11 size_t strlcpy(char *, const char *, size_t); 12 #endif /* HAVE_STRLCPY */ 13 14 #ifndef HAVE_READPASSPHRASE 15 #include "_readpassphrase.h" 16 #else 17 #include <readpassphrase.h> 18 #endif /* HAVE_READPASSPHRASE */ 19 20 #endif /* !_STRLCPY_H_ */ 21