]> git.mxchange.org Git - flightgear.git/commitdiff
Fix Linux build: "malloc" needs stdlib.h
authorThorstenB <brehmt@gmail.com>
Thu, 4 Oct 2012 19:14:48 +0000 (21:14 +0200)
committerThorstenB <brehmt@gmail.com>
Thu, 4 Oct 2012 19:14:48 +0000 (21:14 +0200)
src/Sound/morse.cxx

index f4636db8b40390c7a9dee9477f544eba0db0322a..1563841ab7fee87567a2a4a6e4464e4a7145a367 100644 (file)
@@ -25,7 +25,9 @@
 #include "morse.hxx"
 
 #include <simgear/sound/sample_openal.hxx>
+
 #include <cstring>
+#include <stdlib.h>
 
 static const char DI = '1';
 static const char DIT = '1';