![Bernd Kuhls](/assets/img/avatar_default.png)
Release notes of this bugfix release: https://www.samba.org/samba/history/samba-4.10.7.html Removed 0005-disable_gnutls_build_fix.patch, applied upstream: https://git.samba.org/samba.git/?p=samba.git;a=commitdiff;h=8128ceceb8702e596183dd509dd6f952a2f4efc2 Renumbered remaining patches. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
28 lines
644 B
Diff
28 lines
644 B
Diff
Fix unistd.h include
|
|
|
|
Fixes build error
|
|
|
|
source4/heimdal/lib/asn1/asn1_err.c:47:23: error: 'link' redeclared as different kind of symbol
|
|
static struct et_list link = { 0, 0 };
|
|
|
|
Downloaded from
|
|
https://github.com/openwrt/packages/blob/master/net/samba4/patches/006-samba-4-10-musl_rm_unistd_incl.patch
|
|
|
|
Upstream bug report: https://bugzilla.samba.org/show_bug.cgi?id=13856
|
|
|
|
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
|
|
|
--- a/lib/replace/replace.h
|
|
+++ b/lib/replace/replace.h
|
|
@@ -162,10 +162,6 @@
|
|
#include <bsd/unistd.h>
|
|
#endif
|
|
|
|
-#ifdef HAVE_UNISTD_H
|
|
-#include <unistd.h>
|
|
-#endif
|
|
-
|
|
#ifdef HAVE_STRING_H
|
|
#include <string.h>
|
|
#endif
|