Przeglądaj źródła

edspsystem.cc: include <stdlib.h> for mkdtemp

Include <stdlib.h> to ensure that mkdtemp(3) is defined to improve
general portability and fix a specific build failure on Android.

Closes: #807367
Fredrik Fornwall 10 lat temu
rodzic
commit
ef72d72639
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      apt-pkg/edsp/edspsystem.cc

+ 1 - 0
apt-pkg/edsp/edspsystem.cc

@@ -20,6 +20,7 @@
 #include <apt-pkg/fileutl.h>
 #include <apt-pkg/fileutl.h>
 
 
 #include <stddef.h>
 #include <stddef.h>
+#include <stdlib.h>
 #include <unistd.h>
 #include <unistd.h>
 
 
 #include <string>
 #include <string>