Add win4lin

This commit is contained in:
Mario Fetka
2022-11-19 21:49:12 +01:00
parent 1bf994041f
commit dcd0ea6843
77 changed files with 3687 additions and 50 deletions

View File

@@ -0,0 +1,17 @@
--- ncpfs-2.2.6/sutil/ncpm_common.h.orig 2022-11-02 19:37:17.319311207 +0100
+++ ncpfs-2.2.6/sutil/ncpm_common.h 2022-11-02 19:36:12.371834652 +0100
@@ -15,10 +15,10 @@
#include "ncpmount.h"
-uid_t myuid;
-uid_t myeuid;
-char *progname;
-char mount_point[MAXPATHLEN + 1];
+extern uid_t myuid;
+extern uid_t myeuid;
+extern char *progname;
+extern char mount_point[MAXPATHLEN + 1];
static inline int suser(void) {
return myuid == 0;