blob: 9b3e53047fb3400144da9bcbe6edd072f030c845 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
Description: Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> includes.
Author: Cyril Brulebois <kibi@debian.org>
Bug-Debian: http://bugs.debian.org/667116
--- a/Source/main.cpp
+++ b/Source/main.cpp
@@ -24,6 +24,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIG
#include <stdlib.h>
#include <sstream>
#include <stdexcept>
+#include <unistd.h>
using namespace std;
using namespace blahtex;
--- a/Source/mainPng.cpp
+++ b/Source/mainPng.cpp
@@ -27,6 +27,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIG
#include <stdio.h>
#include <stdlib.h>
#include <sstream>
+#include <unistd.h>
using namespace std;
|