Apply patch: ncpfs-2.2.6-fix-build-with-gcc14.patch
This commit is contained in:
@@ -1215,7 +1215,7 @@ NWDSCCODE NWDSCreateContextHandle(NWDSContextHandle *ctx) {
|
||||
#endif
|
||||
};
|
||||
|
||||
err = NWDSSetTransport(tmp, sizeof(t)/sizeof(t[0]), t);
|
||||
err = NWDSSetTransport(tmp, sizeof(t)/sizeof(t[0]), (const NET_ADDRESS_TYPE *) t);
|
||||
}
|
||||
if (err) {
|
||||
NWDSFreeContext(tmp);
|
||||
|
||||
@@ -64,6 +64,9 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
#include <sys/errno.h>
|
||||
#include <ncp/nwcalls.h>
|
||||
#include <ncp/nwnet.h>
|
||||
|
||||
Reference in New Issue
Block a user