0002-Fix-add-missing-sys-types.h-header.patch 716 B

1234567891011121314151617181920212223242526272829
  1. From: Baruch Siach <baruch@tkos.co.il>
  2. Date: Tue, 8 Mar 2016 14:40:49 +0200
  3. Subject: [PATCH] Fix: add missing sys/types.h header
  4. The musl C library requires inclusion of sys/types.h for mode_t.
  5. Signed-off-by: Baruch Siach <baruch@tkos.co.il>
  6. ---
  7. Patch status: sent upstream
  8. (http://lists.lttng.org/pipermail/lttng-dev/2016-March/025594.html)
  9. src/common/runas.h | 1 +
  10. 1 file changed, 1 insertion(+)
  11. diff --git a/src/common/runas.h b/src/common/runas.h
  12. index 2c5565af3646..ac1143eecf84 100644
  13. --- a/src/common/runas.h
  14. +++ b/src/common/runas.h
  15. @@ -19,6 +19,7 @@
  16. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  17. */
  18. +#include <sys/types.h>
  19. #include <unistd.h>
  20. #include <pthread.h>
  21. --
  22. 2.7.0