about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibcrypt.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-04-25 09:24:28 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-04-25 09:24:28 +0200
commit4cdc3c62b25c1b36cf7584fed13f2f15e00937fb (patch)
treec02cd951f1f555e40b93ca7ea5045cd6a2e491d6 /src/wrapped/wrappedlibcrypt.c
parent4402f082455a3647616141dbca776ae94cd0f2e8 (diff)
downloadbox64-4cdc3c62b25c1b36cf7584fed13f2f15e00937fb.tar.gz
box64-4cdc3c62b25c1b36cf7584fed13f2f15e00937fb.zip
Added wrapeed libcrypt.so
Diffstat (limited to 'src/wrapped/wrappedlibcrypt.c')
-rwxr-xr-xsrc/wrapped/wrappedlibcrypt.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/wrapped/wrappedlibcrypt.c b/src/wrapped/wrappedlibcrypt.c
new file mode 100755
index 00000000..58b7e4e7
--- /dev/null
+++ b/src/wrapped/wrappedlibcrypt.c
@@ -0,0 +1,24 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#define _GNU_SOURCE         /* See feature_test_macros(7) */
+#include <dlfcn.h>
+
+#include "wrappedlibs.h"
+
+#include "debug.h"
+#include "wrapper.h"
+#include "bridge.h"
+#include "librarian/library_private.h"
+#include "x64emu.h"
+#include "emu/x64emu_private.h"
+#include "callback.h"
+#include "librarian.h"
+#include "box64context.h"
+#include "emu/x64emu_private.h"
+#include "callback.h"
+
+const char* libcryptName = "libcrypt.so.1";
+#define LIBNAME libcrypt
+
+#include "wrappedlib_init.h"