Reviewed-by: Tapani Palli <[email protected]>

On 03/24/2015 05:56 PM, Emil Velikov wrote:
Allows us to remove the extern "C" { #include <system_header.h> }
pattern which can cause subtle issues.

Signed-off-by: Emil Velikov <[email protected]>
---
  src/waffle/nacl/nacl_container.cpp | 2 ++
  src/waffle/nacl/nacl_container.h   | 2 --
  2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/waffle/nacl/nacl_container.cpp 
b/src/waffle/nacl/nacl_container.cpp
index 84ab1da..92b3823 100644
--- a/src/waffle/nacl/nacl_container.cpp
+++ b/src/waffle/nacl/nacl_container.cpp
@@ -23,6 +23,8 @@
  // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 
USE
  // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#include <dlfcn.h>
+
  #include "ppapi/cpp/graphics_3d.h"
  #include "ppapi/cpp/instance.h"
  #include "ppapi/cpp/module.h"
diff --git a/src/waffle/nacl/nacl_container.h b/src/waffle/nacl/nacl_container.h
index 579856d..a1371a7 100644
--- a/src/waffle/nacl/nacl_container.h
+++ b/src/waffle/nacl/nacl_container.h
@@ -25,8 +25,6 @@
#ifdef __cplusplus -#include <dlfcn.h>
-
  extern "C" {
  #endif

_______________________________________________
waffle mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/waffle

Reply via email to