[tor-commits] [sandboxed-tor-browser/master] Fix the build being broken on Debian Jessie due to #22648.

yawning at torproject.org yawning at torproject.org
Tue Jun 20 04:19:26 UTC 2017


commit 75faec7ba100845641422d72e47dffbdafe9c180
Author: Yawning Angel <yawning at schwanenlied.me>
Date:   Tue Jun 20 04:14:43 2017 +0000

    Fix the build being broken on Debian Jessie due to #22648.
    
    I guess I should have included this for completeness sake anyway,
    but it built fine on F25 and Arch.
---
 ChangeLog                                                       | 1 +
 src/cmd/sandboxed-tor-browser/internal/sandbox/x11/surrogate.go | 1 +
 2 files changed, 2 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 3ba6979..742153f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,5 @@
 Changes in version 0.0.9 - UNRELEASED:
+ * Fix the build being broken on Debian Jessie due to #22648.
 
 Changes in version 0.0.8 - 2017-06-19:
  * Bug 20776: Remove the X11 `MIT-SHM` workaround from the stub.
diff --git a/src/cmd/sandboxed-tor-browser/internal/sandbox/x11/surrogate.go b/src/cmd/sandboxed-tor-browser/internal/sandbox/x11/surrogate.go
index 90a2663..3db8aca 100644
--- a/src/cmd/sandboxed-tor-browser/internal/sandbox/x11/surrogate.go
+++ b/src/cmd/sandboxed-tor-browser/internal/sandbox/x11/surrogate.go
@@ -18,6 +18,7 @@ package x11
 
 // #cgo LDFLAGS: -lxcb
 //
+// #include <xcb/xcb.h>
 // #include <xcb/xproto.h>
 // #include <stdlib.h>
 // #include <string.h>



More information about the tor-commits mailing list