--- src/initiator/libkmod.h	2011-08-26 06:51:09.000000000 -0700
+++ src/initiator/libkmod.h	2011-08-26 07:52:37.000000000 -0700
@@ -25,7 +25,7 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  */
-#ifndef LIBKMOD_H_
+#if defined(__NetBSD__) && !defined(LIBKMOD_H_)
 #define LIBKMOD_H_	20090619
 
 #include <sys/module.h>
