Fix Alpine Linux builds

Reported by Maxime Bouton.

* spot/misc/tmpfile.cc: Include stdlib.h, not cstdlib, so
that our replacement secure_getenv() is found.
* THANKS: Add Maxime.
This commit is contained in:
Alexandre Duret-Lutz 2018-11-10 12:46:09 +01:00
parent fd32ab5dd7
commit 6cfdf02c5a
2 changed files with 2 additions and 1 deletions

1
THANKS
View file

@ -27,6 +27,7 @@ Juraj Major
Kristin Y. Rozier Kristin Y. Rozier
Martin Dieguez Lodeiro Martin Dieguez Lodeiro
Matthias Heizmann Matthias Heizmann
Maxime Bouton
Michael Tautschnig Michael Tautschnig
Michael Weber Michael Weber
Mikuláš Klokočka Mikuláš Klokočka

View file

@ -20,7 +20,7 @@
#include "config.h" #include "config.h"
#include <spot/misc/tmpfile.hh> #include <spot/misc/tmpfile.hh>
#include <errno.h> #include <errno.h>
#include <cstdlib> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>