From: rofl0r Date: Thu, 6 Dec 2012 19:03:04 +0000 (+0100) Subject: add struct msgbuf to sys/msg.h X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=0182c287ca223f7f881c6a9f1d2413cc747460d9 add struct msgbuf to sys/msg.h --- diff --git a/include/sys/msg.h b/include/sys/msg.h index 460275c5..ceedd1c6 100644 --- a/include/sys/msg.h +++ b/include/sys/msg.h @@ -37,6 +37,13 @@ int msgget (key_t, int); ssize_t msgrcv (int, void *, size_t, long, int); int msgsnd (int, const void *, size_t, int); +#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +struct msgbuf { + long mtype; + char mtext[1]; +}; +#endif + #ifdef __cplusplus } #endif