From d07361d96a4684b95d030875ba7623aa60f64f2f Mon Sep 17 00:00:00 2001 From: Fred Wright Date: Fri, 9 Sep 2016 14:35:44 -0700 Subject: [PATCH 4/5] Removes obsolete flag tweak related to alloca(). There's no longer any need for an alloca() prototype, now that alloca() is gone. TESTED: Ran "scons build-all check" on OSX 10.9, Ubuntu 14.04, and CentOS 7. --- libgpsd_core.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libgpsd_core.c b/libgpsd_core.c index 6263142..ddb22a6 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -21,12 +21,8 @@ /* strlcpy() needs _DARWIN_C_SOURCE */ #define _DARWIN_C_SOURCE - #include #include - -/* alloca() in stdlib.h needs __USE_MISC on Linux */ -#define __USE_MISC #include #include -- 2.9.3