]> arthur.barton.de Git - netatalk.git/blobdiff - sys/netatalk/at.h
Backport from 1.6 branch: Fixes for Linux kernel 2.6 headers.
[netatalk.git] / sys / netatalk / at.h
index 3a38a7e70fd76af3eab5f8d3e5f589f4476bfacc..ebe96bc15653c3375807009b879575fa47f31be1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: at.h,v 1.3 2001-11-25 21:55:10 srittau Exp $
+ * $Id: at.h,v 1.4 2003-12-15 04:33:28 srittau Exp $
  *
  * Copyright (c) 1990,1991 Regents of The University of Michigan.
  *
 #define __AT_HEADER__
 
 #if defined(linux) /* pull in the linux header */
+
 #include <sys/socket.h>
 #include <asm/types.h>
 #include <linux/atalk.h>
+
+#ifdef HAVE_ATALK_ADDR
+#define at_addr atalk_addr
+#define netrange atalk_netrange
+#endif /* HAVE_ATALK_ADDR */
+
 #else /* linux */
 
 #include <sys/types.h>