summaryrefslogtreecommitdiff
path: root/daemon/smbval
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2006-05-10 17:51:23 +0000
committerStef Walter <stef@memberwebs.com>2006-05-10 17:51:23 +0000
commitacca6d6c2add017534cf1326ea06cc857f189d52 (patch)
tree97f8ab050b011530ccde6d426e55e723b5c27914 /daemon/smbval
parentf5164b1be2a17e2dba5908f08ba270cf035d6546 (diff)
FreeBSD Build fixes
Diffstat (limited to 'daemon/smbval')
-rw-r--r--daemon/smbval/rfcnb-util.inc.c2
-rw-r--r--daemon/smbval/session.inc.c2
-rw-r--r--daemon/smbval/smbencrypt.inc.c1
-rw-r--r--daemon/smbval/smblib-util.inc.c2
4 files changed, 3 insertions, 4 deletions
diff --git a/daemon/smbval/rfcnb-util.inc.c b/daemon/smbval/rfcnb-util.inc.c
index 31e7e05..fece862 100644
--- a/daemon/smbval/rfcnb-util.inc.c
+++ b/daemon/smbval/rfcnb-util.inc.c
@@ -21,7 +21,7 @@
* 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <stdint.h>
#include "std-includes.h"
diff --git a/daemon/smbval/session.inc.c b/daemon/smbval/session.inc.c
index 1ed4732..00ca4ff 100644
--- a/daemon/smbval/session.inc.c
+++ b/daemon/smbval/session.inc.c
@@ -21,7 +21,7 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA. */
-#include <malloc.h>
+#include <stdlib.h>
#include <string.h>
static int RFCNB_errno = 0;
diff --git a/daemon/smbval/smbencrypt.inc.c b/daemon/smbval/smbencrypt.inc.c
index 2cef4f9..1c4d859 100644
--- a/daemon/smbval/smbencrypt.inc.c
+++ b/daemon/smbval/smbencrypt.inc.c
@@ -19,7 +19,6 @@
#include <arpa/inet.h>
#include <dirent.h>
#include <string.h>
-#include <sys/vfs.h>
#include <netinet/in.h>
#include "smblib-priv.h"
diff --git a/daemon/smbval/smblib-util.inc.c b/daemon/smbval/smblib-util.inc.c
index f8c77bf..325511e 100644
--- a/daemon/smbval/smblib-util.inc.c
+++ b/daemon/smbval/smblib-util.inc.c
@@ -21,7 +21,7 @@
* 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "smblib-priv.h"
-#include <malloc.h>
+#include <stdlib.h>
#include "rfcnb.h"