From 4e024bb4f5c8aa8b07459f7fbd65c35122127fd1 Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Wed, 22 Sep 2010 14:19:28 +0200 Subject: Remove compiler warnings when building the emulator. This forces -Wall during the build. Note that this patch doesn't remove all warnings, but most of the remaining ones are from upstream anyway. Change-Id: I8808d8495e99866e156ce5780d2e3c305eab491f --- path.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'path.c') diff --git a/path.c b/path.c index 0d2bf14..4fbc210 100644 --- a/path.c +++ b/path.c @@ -3,6 +3,9 @@ The assumption is that this area does not change. */ +#ifdef __linux__ +#define _GNU_SOURCE 1 +#endif #include #include #include -- cgit v1.1