aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-qt/qcanobserver/qcanobserver/0003-messagebufferinterface-include-unistd.h-for-read-wri.patch
blob: d1119573782ba2f24b048053930700d241d43e73 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From 3d2d2f586c7a1498ab6a4376b128eaa86a9904b0 Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Thu, 29 Aug 2013 12:29:32 +0200
Subject: [PATCH] include unistd.h for read, write, close, usleep

Upstream-Status: Pending

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 messagebufferinterface.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/messagebufferinterface.cpp b/messagebufferinterface.cpp
index 116564c..93f3ce7 100644
--- a/messagebufferinterface.cpp
+++ b/messagebufferinterface.cpp
@@ -18,6 +18,7 @@
 #include "messagebufferinterface.h"
 #include "errordialog.h"
 #include <stdio.h>
+#include <unistd.h>
 #include <fcntl.h>
 
 #include <string.h>
diff --git a/graphicwindow.cpp b/graphicwindow.cpp
index 7db6069..f1690c6 100644
--- a/graphicwindow.cpp
+++ b/graphicwindow.cpp
@@ -21,6 +21,7 @@
 #include "extrect.h"
 #include <stdio.h>
 #include <fcntl.h>
+#include <unistd.h>
 #include<sys/types.h>
 #include<sys/stat.h>
 #include <string.h>
-- 
1.8.3.2