summaryrefslogtreecommitdiff
path: root/libgpsd_core.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2016-08-15 21:23:20 -0700
committerGary E. Miller <gem@rellim.com>2016-08-15 21:23:20 -0700
commit0260b7d8004e4c16928ef8d8e1bf6f6c9de8e0c8 (patch)
tree3886f2595cac9ddb11e3825df22c12cebdcaff88 /libgpsd_core.c
parent6692860642f8e359bc9da2603fea9fc7062884fc (diff)
downloadgpsd-0260b7d8004e4c16928ef8d8e1bf6f6c9de8e0c8.tar.gz
alloca() needs alloca.h
Not in POSIX, so a little undefined.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r--libgpsd_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c
index 3fef4a86..31632557 100644
--- a/libgpsd_core.c
+++ b/libgpsd_core.c
@@ -28,6 +28,7 @@
#include <sys/wait.h>
#include <sys/socket.h>
#include <unistd.h>
+#include <alloca.h> /* for alloca(), not POSIX */
#include "gpsd.h"
#include "matrix.h"