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.
This commit is contained in:
Daniel Kolesa 2018-06-21 14:09:59 +02:00
parent 2663dceaf1
commit 1bcdc8af7b
5 changed files with 12 additions and 0 deletions

View File

@ -1,6 +1,8 @@
#ifndef _EVAS_CSERVE2_H
#define _EVAS_CSERVE2_H
#include <sys/types.h>
#include <Eina.h>
#include "evas_cs2.h"

View File

@ -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>

View File

@ -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
*

View File

@ -21,6 +21,8 @@
#include "eina_types.h"
#include <sys/types.h>
/**
* @addtogroup Eina_Tools_Group Tools
*

View File

@ -1,6 +1,8 @@
#ifndef EMOTION_GENERIC_H
#define EMOTION_GENERIC_H
#include <sys/types.h>
#include "Emotion_Generic_Plugin.h"
/* default values */