1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

s/malloc/unistd/

Submitted by:	Harald Schmalzbauer <H.Schmalzbauer@belenus.com>
This commit is contained in:
Nick Sayer 2001-11-29 17:04:16 +00:00
parent 7b859cdd96
commit a2772e99a4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50724

View File

@ -0,0 +1,44 @@
--- smbval/smblib.c.orig Thu Nov 29 08:58:05 2001
+++ smbval/smblib.c Thu Nov 29 08:58:33 2001
@@ -24,7 +24,7 @@
*/
#include "../config.h"
-#include <malloc.h>
+#include <unistd.h>
int SMBlib_errno;
int SMBlib_SMB_Error;
--- smbval/smblib-util.c.orig Thu Nov 29 08:58:15 2001
+++ smbval/smblib-util.c Thu Nov 29 08:58:31 2001
@@ -24,7 +24,7 @@
*/
#include "smblib-priv.h"
-#include <malloc.h>
+#include <unistd.h>
#include "rfcnb.h"
--- smbval/rfcnb-util.c.orig Thu Nov 29 08:57:54 2001
+++ smbval/rfcnb-util.c Thu Nov 29 08:58:39 2001
@@ -24,7 +24,7 @@
*/
#include <string.h>
-#include <malloc.h>
+#include <unistd.h>
#include "std-includes.h"
#include "rfcnb-priv.h"
--- smbval/session.c.orig Thu Nov 29 08:58:00 2001
+++ smbval/session.c Thu Nov 29 08:58:36 2001
@@ -23,7 +23,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include <malloc.h>
+#include <unistd.h>
#include <string.h>
int RFCNB_errno = 0;