mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-11 11:47:02 +02:00
samba: don't remove unistd include, gcc14
Fix building with gcc14. musl seems to build fine without the patch.
This commit is contained in:
parent
eeae3026d1
commit
0900507d38
1 changed files with 0 additions and 37 deletions
|
@ -1,37 +0,0 @@
|
|||
--- a/lib/replace/replace.h
|
||||
+++ b/lib/replace/replace.h
|
||||
@@ -168,10 +168,6 @@
|
||||
#include <bsd/unistd.h>
|
||||
#endif
|
||||
|
||||
-#ifdef HAVE_UNISTD_H
|
||||
-#include <unistd.h>
|
||||
-#endif
|
||||
-
|
||||
#ifdef HAVE_STRING_H
|
||||
#include <string.h>
|
||||
#endif
|
||||
--- a/lib/replace/system/network.h
|
||||
+++ b/lib/replace/system/network.h
|
||||
@@ -31,10 +31,6 @@
|
||||
#error "AC_LIBREPLACE_NETWORK_CHECKS missing in configure"
|
||||
#endif
|
||||
|
||||
-#ifdef HAVE_UNISTD_H
|
||||
-#include <unistd.h>
|
||||
-#endif
|
||||
-
|
||||
#ifdef HAVE_SYS_SOCKET_H
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
--- a/source3/rpc_server/mdssvc/mdssvc.c
|
||||
+++ b/source3/rpc_server/mdssvc/mdssvc.c
|
||||
@@ -18,6 +18,8 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
+#include <unistd.h>
|
||||
+
|
||||
#include "includes.h"
|
||||
#include "librpc/gen_ndr/auth.h"
|
||||
#include "dbwrap/dbwrap.h"
|
Loading…
Add table
Reference in a new issue