aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/wvdial/wvstreams/06_gcc-4.7.diff
blob: 7b05e468a93747a82a2bf20f0db94b71ea6ba12a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Upstream-Status: Pending

Description: Fix FTBFS with gcc-4.7
 Small header include change. This is borderlinde cosmetic, but still needed
 to prevent the FTBFS.
Author: Paul Tagliamonte <paultag@ubuntu.com>
Origin: vendor
Bug-Debian: http://bugs.debian.org/667418
Last-Update: 2012-04-13

--- wvstreams-4.6.1.orig/utils/wvuid.cc
+++ wvstreams-4.6.1/utils/wvuid.cc
@@ -33,6 +33,7 @@ wvuid_t wvgetuid()
 
 #else // not WIN32
 
+#include <unistd.h>
 
 WvString wv_username_from_uid(wvuid_t uid)
 {