]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 2704: Add missing "#include <unistd.h>" for use with g++ 4.7
authorFrédéric Bron <frederic.bron@m4x.org>
Wed, 1 Aug 2012 08:08:05 +0000 (10:08 +0200)
committerDavid Kastrup <dak@gnu.org>
Wed, 1 Aug 2012 08:10:39 +0000 (10:10 +0200)
flower/include/yaffut.hh
flower/test-file-path.cc

index 0da01807d48a263cba2cb3736f51d14f21ba0873..38fba30801089b87e10475e282e1ccc8ff88969e 100644 (file)
@@ -395,6 +395,9 @@ void assert_throw (void (*pf) (), const char *at = "")
 #ifdef YAFFUT_MAIN
 
 #include <iostream>
+#include <sys/types.h>
+#include <unistd.h>
+
 
 int main (int argc, const char *argv[])
 {
index 99366a1f100d0182bb248ffd1eae22ff595c7303..a20364b98cf6214e0f727ec9a9672fef85f217d0 100644 (file)
@@ -1,6 +1,7 @@
 #include "file-path.hh"
 
 #include <limits.h>
+#include <unistd.h>
 
 #include "yaffut.hh"
 #include "config.hh"