[dasher] Fix ubuntu build.



commit 49a7f28a4f919b526512b887f99801509195447e
Author: Patrick Welche <prlw1 cam ac uk>
Date:   Thu Jan 24 17:05:03 2013 +0000

    Fix ubuntu build.
    
    Unlike cspi/spi.h, atspi.h doesn't contain
    
      #ifdef __cplusplus
      extern "C" {
      #endif

 Src/Gtk2/dasher_editor_external_atspi.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/Src/Gtk2/dasher_editor_external_atspi.cpp b/Src/Gtk2/dasher_editor_external_atspi.cpp
index e930f51..8c60a03 100644
--- a/Src/Gtk2/dasher_editor_external_atspi.cpp
+++ b/Src/Gtk2/dasher_editor_external_atspi.cpp
@@ -1,6 +1,8 @@
 #include <X11/keysym.h>
 
-#include <atspi/atspi.h>
+extern "C" {
+  #include <atspi/atspi.h>
+}
 
 #include "dasher_editor_external.h"
 #include "dasher_editor_private.h"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]