diff options
author | Dmitry Smirnov | 2013-06-07 18:23:59 +1000 |
---|---|---|
committer | Dmitry Smirnov | 2013-06-18 02:52:35 +1000 |
commit | 61b4981b120ae0c75d05f6f2c5012e269abb9f57 (patch) | |
tree | d748e44909e58f802e0a4e636ba8d5fa6bc11dce /backends/midi | |
parent | 4401f40f7203f7aaa78c2e1c904c70902325436c (diff) | |
download | scummvm-rg350-61b4981b120ae0c75d05f6f2c5012e269abb9f57.tar.gz scummvm-rg350-61b4981b120ae0c75d05f6f2c5012e269abb9f57.tar.bz2 scummvm-rg350-61b4981b120ae0c75d05f6f2c5012e269abb9f57.zip |
BACKENDS: fix FTBFS on GNU Hurd by replacing MAXHOSTNAMELEN with NI_MAXHOST
Bug-ScummVM: https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3614268&group_id=37116
See more in similar http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=387665
Diffstat (limited to 'backends/midi')
-rw-r--r-- | backends/midi/timidity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/midi/timidity.cpp b/backends/midi/timidity.cpp index 5cefe668cd..d2c60bec9d 100644 --- a/backends/midi/timidity.cpp +++ b/backends/midi/timidity.cpp @@ -148,7 +148,7 @@ MidiDriver_TIMIDITY::MidiDriver_TIMIDITY() { int MidiDriver_TIMIDITY::open() { char *res; - char timidity_host[MAXHOSTNAMELEN]; + char timidity_host[NI_MAXHOST]; int timidity_port, data_port, i; /* count ourselves open */ |