001-missing_includes.patch 366 B

1234567891011121314151617181920
  1. --- a/src/mklibs-readelf/elf.cpp
  2. +++ b/src/mklibs-readelf/elf.cpp
  3. @@ -25,6 +25,7 @@
  4. #include <fcntl.h>
  5. #include <sys/mman.h>
  6. #include <sys/stat.h>
  7. +#include <unistd.h>
  8. using namespace Elf;
  9. --- a/src/mklibs-readelf/main.cpp
  10. +++ b/src/mklibs-readelf/main.cpp
  11. @@ -7,6 +7,7 @@
  12. #include <elf.h>
  13. #include <getopt.h>
  14. +#include <stdio.h>
  15. #include "elf.hpp"