pkgsrc/x11/kdebase/patches/patch-as

24 lines
528 B
Text
Raw Normal View History

1999-09-12 22:41:00 +02:00
$NetBSD: patch-as,v 1.5 1999/09/12 20:41:00 christos Exp $
--- kdehelp/khelp.h.orig Mon Mar 30 14:28:15 1998
+++ kdehelp/khelp.h Sun Sep 12 16:26:55 1999
@@ -22,9 +22,15 @@
#include <sys/msg.h>
#ifndef __osf__
-#ifdef BSD
-#define msgbuf mymsg
-#endif
+# ifdef BSD
+# define msgbuf mymsg
+# if __NetBSD_Version__ >= 104110000 /* 1.4K or higher */
+struct mymsg {
+ long mtype; /* message type (+ve integer) */
+ char mtext[1]; /* message body */
+};
+# endif
+# endif
#endif
class KHelpMsg : protected msgbuf