diff options
author | Daniel Kolesa <d.kolesa@samsung.com> | 2018-06-21 14:09:59 +0200 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@samsung.com> | 2018-06-21 14:09:59 +0200 |
commit | 1bcdc8af7be7d8060660c9b9e14018d66ac921d2 (patch) | |
tree | 7c9554ba85b9f39f79550cf917e30afba8294e35 | |
parent | 2663dceaf11b6a51b7fec6dd3f368a018b6975e9 (diff) | |
download | efl-1bcdc8af7be7d8060660c9b9e14018d66ac921d2.tar.gz |
efl: include sys/types.h where ssize_t is used
This include is necessary according to POSIX. Without it, build
fails on certain platforms (QNX). It may already be included
implicitly in some of those files, but declare intent.
Fixes T6667.
-rw-r--r-- | src/bin/evas/evas_cserve2.h | 2 | ||||
-rw-r--r-- | src/lib/ecore_audio/ecore_audio_obj_in.h | 3 | ||||
-rw-r--r-- | src/lib/eina/eina_slice.h | 3 | ||||
-rw-r--r-- | src/lib/eina/eina_xattr.h | 2 | ||||
-rw-r--r-- | src/modules/emotion/generic/emotion_generic.h | 2 |
5 files changed, 12 insertions, 0 deletions
diff --git a/src/bin/evas/evas_cserve2.h b/src/bin/evas/evas_cserve2.h index cc3623e472..1eacb33bd8 100644 --- a/src/bin/evas/evas_cserve2.h +++ b/src/bin/evas/evas_cserve2.h @@ -1,6 +1,8 @@ #ifndef _EVAS_CSERVE2_H #define _EVAS_CSERVE2_H +#include <sys/types.h> + #include <Eina.h> #include "evas_cs2.h" diff --git a/src/lib/ecore_audio/ecore_audio_obj_in.h b/src/lib/ecore_audio/ecore_audio_obj_in.h index 9dc0760863..478ddd434a 100644 --- a/src/lib/ecore_audio/ecore_audio_obj_in.h +++ b/src/lib/ecore_audio/ecore_audio_obj_in.h @@ -1,6 +1,9 @@ #ifndef ECORE_AUDIO_OBJ_IN_H #define ECORE_AUDIO_OBJ_IN_H +/* ssize_t needed in .eo.h */ +#include <sys/types.h> + #include <Eina.h> #include <Eo.h> diff --git a/src/lib/eina/eina_slice.h b/src/lib/eina/eina_slice.h index 8ac4351d93..85163d3432 100644 --- a/src/lib/eina/eina_slice.h +++ b/src/lib/eina/eina_slice.h @@ -20,11 +20,14 @@ #define _EINA_SLICE_H #include "eina_types.h" + #include <stdint.h> #include <string.h> #include <stdlib.h> #include <stdio.h> +#include <sys/types.h> + /** * @addtogroup Eina_Slice_Group Memory Slices * diff --git a/src/lib/eina/eina_xattr.h b/src/lib/eina/eina_xattr.h index febd4a7d43..609afc9b41 100644 --- a/src/lib/eina/eina_xattr.h +++ b/src/lib/eina/eina_xattr.h @@ -21,6 +21,8 @@ #include "eina_types.h" +#include <sys/types.h> + /** * @addtogroup Eina_Tools_Group Tools * diff --git a/src/modules/emotion/generic/emotion_generic.h b/src/modules/emotion/generic/emotion_generic.h index 4dfc91eba5..2830d33d4a 100644 --- a/src/modules/emotion/generic/emotion_generic.h +++ b/src/modules/emotion/generic/emotion_generic.h @@ -1,6 +1,8 @@ #ifndef EMOTION_GENERIC_H #define EMOTION_GENERIC_H +#include <sys/types.h> + #include "Emotion_Generic_Plugin.h" /* default values */ |