diff options
author | Alex Dowad <alexinbeijing@gmail.com> | 2015-04-22 08:45:01 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2015-04-22 10:50:31 +0300 |
commit | be31eb24d8724b65929d0b5a9d037cde565c9dfe (patch) | |
tree | 8c8c88f28917e0868cf0394388447030260b9102 | |
parent | 0ed9a55b7dba649d56c3e399daa98a7aadfd4b5f (diff) | |
download | apk-tools-be31eb24d8724b65929d0b5a9d037cde565c9dfe.tar.gz apk-tools-be31eb24d8724b65929d0b5a9d037cde565c9dfe.tar.bz2 apk-tools-be31eb24d8724b65929d0b5a9d037cde565c9dfe.tar.xz apk-tools-be31eb24d8724b65929d0b5a9d037cde565c9dfe.zip |
io: fix compiler error by including stdint.h
According to the C standards, uint32_t is defined in stdint.h.
Presumably apk is usually built against C libraries where
stdint.h is indirectly included through another header file,
but this isn't the case with the version of glibc which I am using.
-rw-r--r-- | src/io.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -16,6 +16,7 @@ #include <unistd.h> #include <malloc.h> #include <dirent.h> +#include <stdint.h> #include <sys/mman.h> #include <sys/wait.h> #include <sys/stat.h> |