diff options
author | Gary E. Miller <gem@rellim.com> | 2016-08-15 21:23:20 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2016-08-15 21:23:20 -0700 |
commit | 0260b7d8004e4c16928ef8d8e1bf6f6c9de8e0c8 (patch) | |
tree | 3886f2595cac9ddb11e3825df22c12cebdcaff88 /libgpsd_core.c | |
parent | 6692860642f8e359bc9da2603fea9fc7062884fc (diff) | |
download | gpsd-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.c | 1 |
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" |