From a7843cc30f052d39981e3a96e944447922200385 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sat, 21 Jul 2012 12:15:59 -0700 Subject: [PATCH] Fix makefile and includes. --- libguac/Makefile.am | 2 +- libguac/include/unicode.h | 2 ++ libguac/src/unicode.c | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libguac/Makefile.am b/libguac/Makefile.am index 3c69a92d..ae919670 100644 --- a/libguac/Makefile.am +++ b/libguac/Makefile.am @@ -44,7 +44,7 @@ libguacinc_HEADERS = include/client.h include/socket.h include/protocol.h includ lib_LTLIBRARIES = libguac.la -libguac_la_SOURCES = src/client.c src/socket.c src/protocol.c src/client-handlers.c src/error.c src/palette.c +libguac_la_SOURCES = src/client.c src/socket.c src/protocol.c src/client-handlers.c src/error.c src/palette.c src/unicode.c libguac_la_LDFLAGS = -version-info 3:1:0 diff --git a/libguac/include/unicode.h b/libguac/include/unicode.h index d9abd849..3364641e 100644 --- a/libguac/include/unicode.h +++ b/libguac/include/unicode.h @@ -38,6 +38,8 @@ #ifndef _GUAC_UNICODE_H #define _GUAC_UNICODE_H +#include + /** * Given the initial byte of a single UTF-8 character, returns the overall * byte size of the entire character. diff --git a/libguac/src/unicode.c b/libguac/src/unicode.c index de80c8ed..f634c10c 100644 --- a/libguac/src/unicode.c +++ b/libguac/src/unicode.c @@ -35,6 +35,8 @@ * * ***** END LICENSE BLOCK ***** */ +#include + #include "unicode.h" size_t guac_utf8_charsize(unsigned char c) {