diff options
Diffstat (limited to 'src/hdlc.h')
-rw-r--r-- | src/hdlc.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |