aboutsummaryrefslogtreecommitdiff
path: root/src/hdlc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hdlc.h')
-rw-r--r--src/hdlc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/hdlc.h b/src/hdlc.h
index 52f3756..ff0dcd6 100644
--- a/src/hdlc.h
+++ b/src/hdlc.h
@@ -18,6 +18,8 @@
#ifndef _HDLC_H_
#define _HDLC_H_
+#include <sys/types.h>
+
#include "lg-downloader.h"
/*
@@ -39,7 +41,7 @@
* Functions
*/
-int hdlc_send(struct context *context, const void *data, unsigned int size);
-int hdlc_recv(struct context *context, void *data, unsigned int size);
+int hdlc_send(struct context *context, const void *data, size_t size);
+int hdlc_recv(struct context *context, void *data, size_t size);
#endif