summaryrefslogtreecommitdiff
path: root/src/apk.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2010-06-30 16:53:56 +0300
committerTimo Teräs <timo.teras@iki.fi>2010-06-30 16:55:50 +0300
commitdd6008995a8e8509d71ffa906c837e7a320e8a15 (patch)
tree1fe2c0e36be6763c90ad64f88d8e06e2a4706172 /src/apk.c
parentfc4c60f233ebe9fe85b7b03d0cf5deec4ab1b32d (diff)
downloadapk-tools-dd6008995a8e8509d71ffa906c837e7a320e8a15.tar.gz
apk-tools-dd6008995a8e8509d71ffa906c837e7a320e8a15.tar.bz2
apk-tools-dd6008995a8e8509d71ffa906c837e7a320e8a15.tar.xz
apk-tools-dd6008995a8e8509d71ffa906c837e7a320e8a15.zip
static build: do not use openssl engines
We want minimal static build. And this now also breaks with our openssl since it tries to automatically dlopen some of the engine modules.
Diffstat (limited to 'src/apk.c')
-rw-r--r--src/apk.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/apk.c b/src/apk.c
index 81bb950..4196f74 100644
--- a/src/apk.c
+++ b/src/apk.c
@@ -12,13 +12,17 @@
#include <stdio.h>
#include <fcntl.h>
#include <ctype.h>
+#include <errno.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <getopt.h>
#include <sys/stat.h>
+#include <openssl/crypto.h>
+#ifndef OPENSSL_NO_ENGINE
#include <openssl/engine.h>
+#endif
#include "apk_defines.h"
#include "apk_database.h"