diff options
author | rofl0r <retnyg@gmx.net> | 2012-12-06 20:03:04 +0100 |
---|---|---|
committer | rofl0r <retnyg@gmx.net> | 2012-12-06 20:27:54 +0100 |
commit | 0182c287ca223f7f881c6a9f1d2413cc747460d9 (patch) | |
tree | 3ab058a7bd731561eb53920bc8c82503910d8188 /include | |
parent | 6bf0fdbdfc994df4977d73782f2b81d2ba449e04 (diff) | |
download | musl-0182c287ca223f7f881c6a9f1d2413cc747460d9.tar.gz musl-0182c287ca223f7f881c6a9f1d2413cc747460d9.tar.bz2 musl-0182c287ca223f7f881c6a9f1d2413cc747460d9.tar.xz musl-0182c287ca223f7f881c6a9f1d2413cc747460d9.zip |
add struct msgbuf to sys/msg.h
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/msg.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 |