diff options
Diffstat (limited to 'apps/apps.h')
-rw-r--r-- | apps/apps.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/apps.h b/apps/apps.h index 3086f09f8c..5333c24767 100644 --- a/apps/apps.h +++ b/apps/apps.h @@ -14,6 +14,14 @@ # include "internal/nelem.h" # include <assert.h> +# ifndef NO_SYS_TYPES_H +# include <sys/types.h> +# endif +# ifndef OPENSSL_NO_POSIX_IO +# include <sys/stat.h> +# include <fcntl.h> +# endif + # include <openssl/e_os2.h> # include <openssl/ossl_typ.h> # include <openssl/bio.h> @@ -509,6 +517,10 @@ typedef struct db_attr_st { typedef struct ca_db_st { DB_ATTR attributes; TXT_DB *db; + char *dbfname; +# ifndef OPENSSL_NO_POSIX_IO + struct stat dbst; +# endif } CA_DB; void* app_malloc(int sz, const char *what); |