davidben/nspluginwrapper — Issue #43: build failure due to including gthread.h directly
Author: anssih
Created: 2011-12-16 03:46:17+00:00
State: open

```
/usr/include/glib-2.0/glib/gthread.h:28:2: error: #error "Only can be included directly."
```

This can be fixed trivially with:

```patch
Index: nspluginwrapper-1.4.4/src/npw-player.c
===================================================================
--- nspluginwrapper-1.4.4/src/npw-player.c
+++ nspluginwrapper-1.4.4/src/npw-player.c 2011-12-16 05:22:25.672747496 +0200
@@ -24,8 +24,6 @@
#include
#include
#include
-#include
-#include
#include
#include
#include

```