aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hdlc.c1
-rw-r--r--src/lg-downloader.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/hdlc.c b/src/hdlc.c
index c84854f..5042b92 100644
--- a/src/hdlc.c
+++ b/src/hdlc.c
@@ -23,6 +23,7 @@
#include <sys/types.h>
#include "lg-downloader.h"
+#include "usb.h"
#include "hdlc.h"
/* Lookup table for CCITT-16 CRC with generator polynomial 0x8408. */
diff --git a/src/lg-downloader.c b/src/lg-downloader.c
index c41ebd0..8597102 100644
--- a/src/lg-downloader.c
+++ b/src/lg-downloader.c
@@ -19,6 +19,7 @@
#include <stdio.h>
#include <stdint.h>
#include <string.h>
+#include <unistd.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>