]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/unix.h
Merge master
[netatalk.git] / etc / afpd / unix.h
index e6417998a0c347767f5db9ffae5284bcf93ca169..d2987706e3b8beaffdd11c00f06fd27548b15081 100644 (file)
@@ -1,14 +1,8 @@
-/*
- * $Id: unix.h,v 1.22 2009-10-13 22:55:37 didg Exp $
- */
-
 #ifndef AFPD_UNIX_H
 #define AFPD_UNIX_H
 
-#ifdef HAVE_SYS_CDEFS_H
-#include <sys/cdefs.h>
-#endif /* HAVE_SYS_CDEFS_H */
-#include <netatalk/endian.h>
+#include <arpa/inet.h>
+
 #include "config.h"
 #include "volume.h"
 
@@ -44,7 +38,9 @@ typedef int   mode_t;
 #include <sys/mnttab.h>
 #endif /* __svr4__ || HAVE_SYS_MNTTAB_H */
 
-
+#if defined(__DragonFly__)
+#define dqblk ufs_dqblk
+#endif
 
 #if defined(HAVE_SYS_MOUNT_H) || defined(BSD4_4) || \
     defined(linux) || defined(ultrix)