summaryrefslogtreecommitdiff
blob: 411cea829ae96911adabb39d1ca8379f870f72c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Add missing header include
 In gcc 4.7, many of the standard C++ library include files have been
 edited to no longer include <unistd.h> to remove namespace pollution.
 The missing include is added to fix FTBFS with gcc 4.7.
Author: Tobias Winchen <winchen@physik.rwth-aachen.de>
Last-Update: 2012-05-17


--- a/src/pointmatch.cpp
+++ b/src/pointmatch.cpp
@@ -25,6 +25,7 @@
 
 #include <math.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 #include "main.h"
 #include "mmsubs.h"