]> git.saurik.com Git - apt.git/commitdiff
edspsystem.cc: include <stdlib.h> for mkdtemp
authorFredrik Fornwall <fredrik@fornwall.net>
Mon, 7 Dec 2015 23:48:50 +0000 (00:48 +0100)
committerJulian Andres Klode <jak@debian.org>
Wed, 3 Feb 2016 22:46:19 +0000 (23:46 +0100)
Include <stdlib.h> to ensure that mkdtemp(3) is defined to improve
general portability and fix a specific build failure on Android.

Closes: #807367
apt-pkg/edsp/edspsystem.cc

index 95abc15277e79d42a10c2e244a254a13bc271821..0d967863ef86cc6b198a2a685ef5ced99f2df988 100644 (file)
@@ -20,6 +20,7 @@
 #include <apt-pkg/fileutl.h>
 
 #include <stddef.h>
+#include <stdlib.h>
 #include <unistd.h>
 
 #include <string>