]> arthur.barton.de Git - netatalk.git/blobdiff - sys/solaris/if.h
- merge branch-netatalk-afp-3x-dev, HEAD was tagged before
[netatalk.git] / sys / solaris / if.h
index f1ed708935df6e09ddc970b2997990604d6877fd..0348d104fd46e9fc87979bef03f8886e8b5615b2 100644 (file)
@@ -11,7 +11,11 @@ struct atif_data {
     /* solaris 7 wants timeout_id_t, but solaris 2.6 doesn't have that.
      * so, we compromise with an unsigned long as we know that's big
      * enough to hold a pointer. */
+#ifdef HAVE_TIMEOUT_ID_T
+    timeout_id_t       aid_aarptimeo;
+#else
     unsigned long      aid_aarptimeo;
+#endif
     /*
      * A little bit of cleverness, to overcome the inability of
      * streams to sleep.  The type of context must be checked before