File: 03_add_unistd_header.patch

package info (click to toggle)
dbus-c%2B%2B 0.9.0-11
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,868 kB
  • sloc: sh: 10,179; cpp: 7,702; makefile: 361; xml: 335; ansic: 110
file content (15 lines) | stat: -rw-r--r-- 422 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Fix FTBFS due to header dependency changes in gcc 4.7
 This patch fixes FTBFS by explicitly including unistd.h.
Author: Vincent Cheng <vcheng@debian.org>
Bug-Debian: http://bugs.debian.org/672046

--- a/src/eventloop-integration.cpp
+++ b/src/eventloop-integration.cpp
@@ -34,6 +34,7 @@
 #include <dbus/dbus.h>
 
 /* STD */
+#include <unistd.h>
 #include <string.h>
 #include <cassert>
 #include <sys/poll.h>