diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2009-07-22 09:14:36 -0700 |
---|---|---|
committer | Riku Voipio <riku.voipio@iki.fi> | 2009-08-25 17:15:34 +0300 |
commit | 8ec9cf89717dabfb9309a05302c7719cffc85337 (patch) | |
tree | 132f6529bd4882e642732ce89ad1d99876eed60d /readline.c | |
parent | c761c15403ed2320d0265257d6b21b8c2e1ecff7 (diff) |
linux-user: fix mq_* compilation problems
mqueue.h is only available if __NR_mq_open is defined. So don't include
it unconditionally. Similarly, the mq_* family of syscalls depend on
__NR_mq_open. Finally, the copy_{from,to}_user_mq_attr functions should
not be defined unconditionally, but only if we're going to use the mq_*
syscalls.
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Diffstat (limited to 'readline.c')
0 files changed, 0 insertions, 0 deletions