Browse Source

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
tags/debian/1.2.2
Fredrik Fornwall Julian Andres Klode 5 years ago
parent
commit
ef72d72639
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      apt-pkg/edsp/edspsystem.cc

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

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

#include <stddef.h>
#include <stdlib.h>
#include <unistd.h>

#include <string>


Loading…
Cancel
Save