Last-Update: 2013-06-06
Forwarded: https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3614268&group_id=37116
Author: Dmitry Smirnov <onlyjob@member.fsf.org>
Description: replace MAXHOSTNAMELEN with NI_MAXHOST to fix FTBFS on GNU Hurd
See more in similar http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=387665
a
|
b
|
|
147 | 147 | } |
148 | 148 | |
149 | 149 | int MidiDriver_TIMIDITY::open() { |
150 | 150 | char *res; |
151 | | char timidity_host[MAXHOSTNAMELEN]; |
| 151 | char timidity_host[NI_MAXHOST]; |
152 | 152 | int timidity_port, data_port, i; |
153 | 153 | |
154 | 154 | /* count ourselves open */ |
155 | 155 | if (_isOpen) |