Commit cde8480e authored by Tom van Dijk's avatar Tom van Dijk Committed by Alfons Laarman

Added unistd.h include to fix issues with GCC 4.7+

parent e589a994
#include <unistd.h>
#include <wibble/sys/mutex.h> #include <wibble/sys/mutex.h>
#include <iostream> #include <iostream>
......
// -*- C++ -*- (c) 2010 Petr Rockai <me@mornfall.net> // -*- C++ -*- (c) 2010 Petr Rockai <me@mornfall.net>
#include <unistd.h>
#include <wibble/commandline/parser.h> #include <wibble/commandline/parser.h>
#include <wibble/string.h> #include <wibble/string.h>
#include "dvecompile.h" #include "dvecompile.h"
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include <errno.h> #include <errno.h>
#include <cstdlib> #include <cstdlib>
#include <set> #include <set>
#include <unistd.h>
#include <cstdlib> #include <cstdlib>
#include <sstream> #include <sstream>
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include <unistd.h>
#include <wibble/test.h> #include <wibble/test.h>
#include <wibble/exception.h> #include <wibble/exception.h>
#include <errno.h> #include <errno.h>
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
(c) 2007 Enrico Zini <enrico@enricozini.org> */ (c) 2007 Enrico Zini <enrico@enricozini.org> */
#include <wibble/sys/childprocess.h> #include <wibble/sys/childprocess.h>
#include <unistd.h>
#ifdef POSIX #ifdef POSIX
#include <wibble/sys/process.h> #include <wibble/sys/process.h>
#include <wibble/sys/exec.h> #include <wibble/sys/exec.h>
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#include <wibble/sys/process.h> #include <wibble/sys/process.h>
#include <wibble/string.h> #include <wibble/string.h>
#include <wibble/exception.h> #include <wibble/exception.h>
#include <unistd.h>
#include <fstream> #include <fstream>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>
......
/* -*- C++ -*- (c) 2007 Petr Rockai <me@mornfall.net> /* -*- C++ -*- (c) 2007 Petr Rockai <me@mornfall.net>
(c) 2007 Enrico Zini <enrico@enricozini.org> */ (c) 2007 Enrico Zini <enrico@enricozini.org> */
#include <wibble/sys/fs.h> #include <wibble/sys/fs.h>
#include <unistd.h>
#include <cstdlib> #include <cstdlib>
#include <set> #include <set>
#include <cstdlib> #include <cstdlib>
......
/* -*- C++ -*- (c) 2009 Enrico Zini <enrico@enricozini.org> */ /* -*- C++ -*- (c) 2009 Enrico Zini <enrico@enricozini.org> */
#include <wibble/sys/signal.h> #include <wibble/sys/signal.h>
#include <unistd.h>
#include <set> #include <set>
#include <cstdlib> #include <cstdlib>
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#ifndef WIBBLE_SYS_THREAD_H #ifndef WIBBLE_SYS_THREAD_H
#define WIBBLE_SYS_THREAD_H #define WIBBLE_SYS_THREAD_H
#include <unistd.h>
#include <wibble/sys/macros.h> #include <wibble/sys/macros.h>
#include <wibble/exception.h> #include <wibble/exception.h>
#ifdef POSIX #ifdef POSIX
......
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