about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedudev0.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-03-26 22:48:22 +0100
committerptitSeb <sebastien.chev@gmail.com>2021-03-26 22:48:22 +0100
commita7119cae7691cbf1ac75d2ab849e3bb89dca79ba (patch)
treecfe3281fb775b4d06de51e3cefbf0dce3889b255 /src/wrapped/wrappedudev0.c
parentc33368bfb49f0391cbb9fa31f93197030a4f175a (diff)
downloadbox64-a7119cae7691cbf1ac75d2ab849e3bb89dca79ba.tar.gz
box64-a7119cae7691cbf1ac75d2ab849e3bb89dca79ba.zip
Added wrapped libudev0 and libudev1
Diffstat (limited to 'src/wrapped/wrappedudev0.c')
-rwxr-xr-xsrc/wrapped/wrappedudev0.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/wrapped/wrappedudev0.c b/src/wrapped/wrappedudev0.c
new file mode 100755
index 00000000..284ea202
--- /dev/null
+++ b/src/wrapped/wrappedudev0.c
@@ -0,0 +1,20 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#define _GNU_SOURCE         /* See feature_test_macros(7) */
+#include <dlfcn.h>
+
+#include "wrappedlibs.h"
+
+#include "wrapper.h"
+#include "bridge.h"
+#include "librarian/library_private.h"
+#include "x64emu.h"
+
+const char* udev0Name = "libudev.so.0";
+#define LIBNAME udev0
+// fallback to 1 version... Not sure if really correct (probably not)
+#define ALTNAME "libudev.so.1"
+
+#include "wrappedlib_init.h"
+