mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-04 18:45:52 +00:00
12 lines
434 B
Diff
12 lines
434 B
Diff
--- a/src/libusbmuxd.c
|
|
+++ b/src/libusbmuxd.c
|
|
@@ -78,7 +78,7 @@ extern int _NSGetExecutablePath(char* buf, uint32_t* bufsize);
|
|
#include <pthread.h>
|
|
#define EVENT_SIZE (sizeof (struct inotify_event))
|
|
#define EVENT_BUF_LEN (1024 * (EVENT_SIZE + 16))
|
|
-#define USBMUXD_DIRNAME "/var/run"
|
|
+#define USBMUXD_DIRNAME "@TERMUX_PREFIX@/var/run"
|
|
#define USBMUXD_SOCKET_NAME "usbmuxd"
|
|
static int use_inotify = 1;
|
|
#endif /* HAVE_INOTIFY */
|