Make it build on DragonFly.

This commit is contained in:
hasso 2009-06-05 08:13:48 +00:00
parent 8538fec9a3
commit 8fbeab1e5a
2 changed files with 4 additions and 4 deletions

View file

@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.2 2008/12/19 12:49:54 joerg Exp $
$NetBSD: distinfo,v 1.3 2009/06/05 08:13:48 hasso Exp $
SHA1 (ntlm1.tar.gz) = f1fb13c664125c8d543069d3357a740cbb76a154
RMD160 (ntlm1.tar.gz) = 768ff7e0fb381c1b6642d6d1a739c209f17f26fd
Size (ntlm1.tar.gz) = 79318 bytes
SHA1 (patch-ntlmssp.inc.c) = 43e5ba88ccb30ace9e17ee442b62900b742ea6f0
SHA1 (patch-smbencrypt.inc.c) = 55c74559a05f9d7dfab6df006dea74fdcb1fe49a
SHA1 (patch-smbencrypt.inc.c) = f8990066f6467655b10d314eeb1a564abe49cf87
SHA1 (patch-smblib.inc.c) = 90c4c795a7d4619650e565d3055cf2a0447b7d70

View file

@ -1,11 +1,11 @@
$NetBSD: patch-smbencrypt.inc.c,v 1.1.1.1 2008/10/17 19:23:25 sborrill Exp $
$NetBSD: patch-smbencrypt.inc.c,v 1.2 2009/06/05 08:13:48 hasso Exp $
--- smbval/smbencrypt.inc.c.orig 2003-06-05 20:21:26.000000000 +0100
+++ smbval/smbencrypt.inc.c 2008-10-17 17:47:37.000000000 +0100
@@ -19,7 +19,9 @@
#include <arpa/inet.h>
#include <dirent.h>
#include <string.h>
+#ifndef __NetBSD__
+#if !defined(__NetBSD__) && !defined(__DragonFly__)
#include <sys/vfs.h>
+#endif
#include <netinet/in.h>