diff options
author | Johannes Schickel | 2013-08-01 19:02:08 -0700 |
---|---|---|
committer | Johannes Schickel | 2013-08-01 19:02:08 -0700 |
commit | 631238ac5539f6a1b68cdb31a171866873a14d5b (patch) | |
tree | dd6bb917a231846f05433bbcbb7ca81d6aaef10e /backends | |
parent | 5b6d3078c9174f0b932b88bf9aeef7c11c3cb190 (diff) | |
parent | 61b4981b120ae0c75d05f6f2c5012e269abb9f57 (diff) | |
download | scummvm-rg350-631238ac5539f6a1b68cdb31a171866873a14d5b.tar.gz scummvm-rg350-631238ac5539f6a1b68cdb31a171866873a14d5b.tar.bz2 scummvm-rg350-631238ac5539f6a1b68cdb31a171866873a14d5b.zip |
Merge pull request #339 from onlyjob/hurd
BACKENDS: fix FTBFS on GNU Hurd by replacing MAXHOSTNAMELEN with NI_MAXHOST
Diffstat (limited to 'backends')
-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 */ |