require '_h2ph_pre.ph';

unless(defined(&_SYS_MSG_H)) {
    die("Never use <bits/msq.h> directly; include <sys/msg.h> instead.");
}
require 'bits/types.ph';
unless(defined(&MSG_NOERROR)) {
    sub MSG_NOERROR () {	010000;}
}
if(defined(&__USE_GNU)) {
    eval 'sub MSG_EXCEPT () {020000;}' unless defined(&MSG_EXCEPT);
}
if(defined(&__USE_MISC)) {
    eval 'sub msg_cbytes () { &__msg_cbytes;}' unless defined(&msg_cbytes);
    eval 'sub MSG_STAT () {11;}' unless defined(&MSG_STAT);
    eval 'sub MSG_INFO () {12;}' unless defined(&MSG_INFO);
}
1;
