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