aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2021-03-09 19:02:06 +0000
committerOle Tr�an <otroan@employees.org>2021-03-12 09:01:04 +0000
commit085e8d40273c25a5200947a8663444aa80272114 (patch)
tree343bf60f89837c4f4f8a2f882c3d432393600cc2
parentd5403ac610c985acc780e625b4328d001efd0e63 (diff)
libmemif: add an include of sys/types.h header file
the ssize_t is defined there. Change-Id: Ie46d196347ab91d0a92c15f331db14fe3b57061c Type: fix Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
-rw-r--r--extras/libmemif/src/libmemif.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/libmemif/src/libmemif.h b/extras/libmemif/src/libmemif.h
index 0146bb78dff..d1c5b05090d 100644
--- a/extras/libmemif/src/libmemif.h
+++ b/extras/libmemif/src/libmemif.h
@@ -28,6 +28,7 @@
#define MEMIF_DEFAULT_APP_NAME "libmemif-app"
#include <inttypes.h>
+#include <sys/types.h>
#include <sys/timerfd.h>
/*! Error codes */