summaryrefslogtreecommitdiffstats
path: root/fastbootd
diff options
context:
space:
mode:
Diffstat (limited to 'fastbootd')
-rw-r--r--fastbootd/commands/partitions.c1
-rw-r--r--fastbootd/config.c1
-rw-r--r--fastbootd/transport.c1
-rw-r--r--fastbootd/usb_linux_client.c1
-rw-r--r--fastbootd/utils.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/fastbootd/commands/partitions.c b/fastbootd/commands/partitions.c
index f2c9da7..3b27959 100644
--- a/fastbootd/commands/partitions.c
+++ b/fastbootd/commands/partitions.c
@@ -31,6 +31,7 @@
#include <sys/types.h>
#include <sys/stat.h>
+#include <errno.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <sys/stat.h>
diff --git a/fastbootd/config.c b/fastbootd/config.c
index fe6da69..012a197 100644
--- a/fastbootd/config.c
+++ b/fastbootd/config.c
@@ -29,6 +29,7 @@
* SUCH DAMAGE.
*/
+#include <errno.h>
#include <fcntl.h>
#include <string.h>
#include <unistd.h>
diff --git a/fastbootd/transport.c b/fastbootd/transport.c
index 9a16fd7..232c999 100644
--- a/fastbootd/transport.c
+++ b/fastbootd/transport.c
@@ -14,6 +14,7 @@
* limitations under the License.
*/
+#include <errno.h>
#include <pthread.h>
#include <stddef.h>
#include <stdio.h>
diff --git a/fastbootd/usb_linux_client.c b/fastbootd/usb_linux_client.c
index 2c678b9..beaafc3 100644
--- a/fastbootd/usb_linux_client.c
+++ b/fastbootd/usb_linux_client.c
@@ -15,6 +15,7 @@
*/
#include <endian.h>
+#include <errno.h>
#include <fcntl.h>
#include <pthread.h>
#include <stdio.h>
diff --git a/fastbootd/utils.c b/fastbootd/utils.c
index bef2463..a9ab47e 100644
--- a/fastbootd/utils.c
+++ b/fastbootd/utils.c
@@ -28,6 +28,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
+#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>