forked from macports/macports-ports
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samba4: fix build with gcc14 and on older OS
- Loading branch information
1 parent
bff380a
commit 3f93991
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- source3/modules/vfs_default.c | ||
+++ source3/modules/vfs_default.c 2024-12-09 15:33:36.000000000 +0800 | ||
@@ -37,6 +37,7 @@ | ||
#include "offload_token.h" | ||
#include "util_reparse.h" | ||
#include "lib/util/string_wrappers.h" | ||
+#include <sys/stdio.h> /* renameat */ | ||
|
||
#undef DBGC_CLASS | ||
#define DBGC_CLASS DBGC_VFS |