Fix makefile and includes.
This commit is contained in:
parent
b76a53fe62
commit
a7843cc30f
@ -44,7 +44,7 @@ libguacinc_HEADERS = include/client.h include/socket.h include/protocol.h includ
|
|||||||
|
|
||||||
lib_LTLIBRARIES = libguac.la
|
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
|
libguac_la_LDFLAGS = -version-info 3:1:0
|
||||||
|
|
||||||
|
@ -38,6 +38,8 @@
|
|||||||
#ifndef _GUAC_UNICODE_H
|
#ifndef _GUAC_UNICODE_H
|
||||||
#define _GUAC_UNICODE_H
|
#define _GUAC_UNICODE_H
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Given the initial byte of a single UTF-8 character, returns the overall
|
* Given the initial byte of a single UTF-8 character, returns the overall
|
||||||
* byte size of the entire character.
|
* byte size of the entire character.
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
#include "unicode.h"
|
#include "unicode.h"
|
||||||
|
|
||||||
size_t guac_utf8_charsize(unsigned char c) {
|
size_t guac_utf8_charsize(unsigned char c) {
|
||||||
|
Loading…
Reference in New Issue
Block a user