diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-03-25 13:16:56 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2015-03-25 13:16:56 +0000 |
commit | d85e68e2d310a5646e4e71a06edf2b21b1d18688 (patch) | |
tree | 7462104d2b50a1be610130731e4d820053c4579d /src | |
parent | d377fd3d11a6ed29f8bce9e7b05a8db82e33764e (diff) |
sna: Add include <alloca.h> for compiling on Solaris
Reported-by: Richard Palo <richard@netbsd.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89762
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/sna/sna_display.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c index 3ea34368..cee4a726 100644 --- a/src/sna/sna_display.c +++ b/src/sna/sna_display.c @@ -40,6 +40,10 @@ #include <poll.h> #include <ctype.h> +#if HAVE_ALLOCA_H +#include <alloca.h> +#endif + #include "sna.h" #include "sna_reg.h" #include "fb/fbpict.h" |