Samba3 head compile error on FreeBSD

Timur I. Bakeyev timur at com.bat.ru
Tue Apr 12 23:34:58 GMT 2005


On Sat, Apr 09, 2005 at 09:27:28PM -0700, Jeremy Allison wrote:
> On Sat, Apr 09, 2005 at 09:09:11AM -0700, Qiao Yang wrote:
> > I got this error when I compile Samba3 (SVN version 6265) on FreeBSD.
> > 
> > It seems like that <sys/extattr.h> is not included in "lib/system.c" nor in
> > "include/includes.h". Should be an easy fix.
> 
> Added them - thanks.

My fault, forgot to attach relevant patch to the bug report...

Cheers,
Timur.

--- include/includes.h.orig     Fri Nov 26 00:47:28 2004
+++ include/includes.h  Fri Nov 26 01:59:16 2004
@@ -476,6 +476,14 @@
 #include <sys/xattr.h>
 #endif

+#ifdef HAVE_SYS_EXTATTR_H
+#include <sys/extattr.h>
+#endif
+
+#ifdef HAVE_SYS_UIO_H
+#include <sys/uio.h>
+#endif
+
 #if HAVE_LOCALE_H
 #include <locale.h>
 #endif


More information about the samba-technical mailing list