From cda77fa4f1de5197c40d1845a382f9abaa4818a4 Mon Sep 17 00:00:00 2001 From: Axel Fagerstedt Date: Tue, 5 May 2015 01:05:40 -0700 Subject: [PATCH] Add errno includes The patch add errno includes. Tracked-On: https://jira01.devtools.intel.com/browse/GMINL-18956 Change-Id: I5df3283ecedf52e36edd30c19a95d4b1fd0fb366 Reviewed-on: https://android.intel.com:443/415236 --- control.c | 2 ++ entry.c | 2 ++ enumeration.c | 2 ++ utils.c | 1 + 4 files changed, 7 insertions(+) diff --git a/control.c b/control.c index 48cea22..9426d4d 100644 --- a/control.c +++ b/control.c @@ -34,6 +34,8 @@ #include "description.h" #include "filtering.h" #include +#include + /* Currently active sensors count, per device */ static int poll_sensors_per_dev[MAX_DEVICES]; /* poll-mode sensors */ static int trig_sensors_per_dev[MAX_DEVICES]; /* trigger, event based */ diff --git a/entry.c b/entry.c index b1baeee..a914f44 100644 --- a/entry.c +++ b/entry.c @@ -21,6 +21,8 @@ #include "description.h" #include "utils.h" +#include + /* This is the IIO Sensors HAL module entry points file */ static int init_count; diff --git a/enumeration.c b/enumeration.c index 1837072..c43ec83 100644 --- a/enumeration.c +++ b/enumeration.c @@ -29,6 +29,8 @@ #include "control.h" #include "calibration.h" +#include + /* * This table maps syfs entries in scan_elements directories to sensor types, * and will also be used to determine other sysfs names as well as the iio diff --git a/utils.c b/utils.c index 88a6b64..6ec6f64 100644 --- a/utils.c +++ b/utils.c @@ -25,6 +25,7 @@ #include "common.h" #include "utils.h" +#include /* Note: * -- 2.11.0