060-add-missing-includes.patch 602 B

1234567891011121314151617181920212223242526
  1. --- a/sources/common/include/common.h
  2. +++ b/sources/common/include/common.h
  3. @@ -20,6 +20,10 @@
  4. #ifndef _COMMON_H
  5. #define _COMMON_H
  6. +#include <stdio.h>
  7. +#include <unistd.h>
  8. +#include <sys/types.h>
  9. +
  10. #include "defines.h"
  11. #include "platform/platform.h"
  12. #include "utils/utils.h"
  13. --- a/sources/common/src/utils/logging/fileloglocation.cpp
  14. +++ b/sources/common/src/utils/logging/fileloglocation.cpp
  15. @@ -18,6 +18,10 @@
  16. */
  17. +#include <stdio.h>
  18. +#include <unistd.h>
  19. +#include <sys/types.h>
  20. +
  21. #include "utils/logging/fileloglocation.h"
  22. #include "utils/lua/luautils.h"
  23. #include "utils/misc/file.h"