summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--daemon/ntlmssp.c1
-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
5 files changed, 3 insertions, 5 deletions
diff --git a/daemon/ntlmssp.c b/daemon/ntlmssp.c
index ecc5df9..4f4e3e4 100644
--- a/daemon/ntlmssp.c
+++ b/daemon/ntlmssp.c
@@ -4,7 +4,6 @@
*/
#include <sys/socket.h>
-#include <sys/vfs.h>
#include <stdlib.h>
#include <dirent.h>
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"