summaryrefslogtreecommitdiff
path: root/ext/sysvmsg/php_sysvmsg.h
diff options
context:
space:
mode:
authorMelvyn Sopacua <msopacua@php.net>2002-10-27 11:56:06 +0000
committerMelvyn Sopacua <msopacua@php.net>2002-10-27 11:56:06 +0000
commitd95b71973e63f4b5648d84b44533722e90c7c64e (patch)
treede49f0c8154f643e3cbe3737456ece93b3d9e366 /ext/sysvmsg/php_sysvmsg.h
parenteef8649fa46e67c43b5d518345474de986fc0a38 (diff)
downloadphp-git-d95b71973e63f4b5648d84b44533722e90c7c64e.tar.gz
Avoid possible clash with mysql, but still make it work for BSD's.
Struct verified to be compatible with Linux, FreeBSD, BSDi, AIX 4.3.3 and Solaris 5.7.
Diffstat (limited to 'ext/sysvmsg/php_sysvmsg.h')
-rw-r--r--ext/sysvmsg/php_sysvmsg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/sysvmsg/php_sysvmsg.h b/ext/sysvmsg/php_sysvmsg.h
index 3d78bc051a..ca72f0a3fc 100644
--- a/ext/sysvmsg/php_sysvmsg.h
+++ b/ext/sysvmsg/php_sysvmsg.h
@@ -55,6 +55,11 @@ typedef struct {
long id;
} sysvmsg_queue_t;
+struct php_msgbuf {
+ long mtype;
+ char mtext[1];
+};
+
#endif /* HAVE_SYSVMSG */
#endif /* PHP_SYSVMSG_H */