$NetBSD$

--- natali.h.orig	Fri Jan  5 21:01:47 2001
+++ natali.h
@@ -20,7 +20,11 @@
 ** No caller of this library should use this include file.
 */
 
+#if !defined(__NetBSD__)
 #include <netatalk/endian.h>
+#else
+#include <sys/socket.h>
+#endif
 #include <sys/types.h>
 #include <sys/uio.h>
 #include <sys/time.h>
