Fix makefile and includes.

This commit is contained in:
Michael Jumper 2012-07-21 12:15:59 -07:00
parent b76a53fe62
commit a7843cc30f
3 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -38,6 +38,8 @@
#ifndef _GUAC_UNICODE_H
#define _GUAC_UNICODE_H
#include <stddef.h>
/**
* Given the initial byte of a single UTF-8 character, returns the overall
* byte size of the entire character.

View File

@ -35,6 +35,8 @@
*
* ***** END LICENSE BLOCK ***** */
#include <stddef.h>
#include "unicode.h"
size_t guac_utf8_charsize(unsigned char c) {