$NetBSD$

--- soundux.h.orig	2004-12-30 14:15:47.000000000 -0800
+++ soundux.h
@@ -127,7 +127,7 @@ typedef struct {
     int stereo;
     bool8 sixteen_bit;
     bool8 encoded;
-#ifdef __sun
+#if defined(__sun) || defined(__NetBSD__)
     int last_eof;
 #endif
 #ifdef __sgi
