$NetBSD: patch-ca,v 1.2 2004/08/22 15:11:09 taca Exp $

--- src/fs/diskd/diskd.c.orig	2001-02-08 03:56:54.000000000 +0900
+++ src/fs/diskd/diskd.c
@@ -36,9 +36,12 @@
 #include "squid.h"
 
 #include <sys/ipc.h>
-#include <sys/msg.h>
 #include <sys/shm.h>
 
+#ifdef HAVE_SYS_MSG_H
+#include <sys/msg.h>
+#endif
+
 #include "store_diskd.h"
 
 #undef assert
