blob: 06e87ba71853860cfaade66f8b250c0f0e437590 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-af,v 1.6 1999/11/12 04:50:00 hubertf Exp $
--- ./kdehelp/khelp.h Mon Mar 30 21:28:15 1998
+++ /usr/pkgsrc/x11/kdebase/work.i386.unpatched/kdebase-1.1.2/kdehelp/khelp.h Fri Nov 12 05:10:33 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
|