[PATCH libinput 2/4] tools: don't define GNU_SOURCE if were including config.h anyway
Peter Hutterer
peter.hutterer at who-t.net
Thu Dec 1 01:37:43 UTC 2016
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
tools/event-gui.c | 1 -
tools/shared.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/tools/event-gui.c b/tools/event-gui.c
index b5dd097..36be874 100644
--- a/tools/event-gui.c
+++ b/tools/event-gui.c
@@ -20,7 +20,6 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
-#define _GNU_SOURCE
#include <config.h>
#include <linux/input.h>
diff --git a/tools/shared.c b/tools/shared.c
index c72ea85..7b354ec 100644
--- a/tools/shared.c
+++ b/tools/shared.c
@@ -21,7 +21,6 @@
* DEALINGS IN THE SOFTWARE.
*/
-#define _GNU_SOURCE
#include <config.h>
#include <errno.h>
--
2.9.3
More information about the wayland-devel
mailing list