diff options
Diffstat (limited to 'lib/Exceptions.cc')
-rw-r--r-- | lib/Exceptions.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/Exceptions.cc b/lib/Exceptions.cc index 110ffaa..448d161 100644 --- a/lib/Exceptions.cc +++ b/lib/Exceptions.cc @@ -1,16 +1,18 @@ #include <malloc.h> -#include <unistd.h> #include <string.h> #include <errno.h> #include <stddef.h> +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #ifdef HAVE_GLIB #include <glib.h> #endif #ifdef DEBUG #include <iostream> #endif -#ifdef HAVE_CONFIG_H -#include "config.h" +#ifdef HAVE_PIPE +#include <unistd.h> #endif #include "String.h" #include "Exceptions.h" |