unistd.h revision 1.6
1/*
2 * Public domain
3 * compatibility shim for openssl11
4 * overloading unistd.h is a ugly guly hack for this issue but works here
5 */
6
7#include_next <unistd.h>
8
9#include <openssl/stack.h>
10
11#define CMS_get_version(cms, version) (*(version) = 3, 1)
12#define CMS_SignerInfo_get_version(si, version) (*(version) = 3, 1)
13
14#ifndef DECLARE_STACK_OF
15#define DECLARE_STACK_OF DEFINE_STACK_OF
16#endif
17