Commit 6ce8acb3 authored by Stefan Westerfeld's avatar Stefan Westerfeld

Make utils.cc compile without changes to the code on Windows/Cygwin.

See #45.
Signed-off-by: Stefan Westerfeld's avatarStefan Westerfeld <stefan@space.twc.de>
parent fb7634b3
......@@ -15,6 +15,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifdef __CYGWIN__
/* needed for vasprintf */
#define _GNU_SOURCE
#endif
#include "utils.hh"
#include "stdarg.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment