aboutsummaryrefslogtreecommitdiff
path: root/libfontenc
diff options
context:
space:
mode:
Diffstat (limited to 'libfontenc')
-rw-r--r--libfontenc/src/encparse.c1
-rw-r--r--libfontenc/src/fontenc.c1
-rw-r--r--libfontenc/src/makefile13
3 files changed, 15 insertions, 0 deletions
diff --git a/libfontenc/src/encparse.c b/libfontenc/src/encparse.c
index cbcac8023..7b8a2d5e2 100644
--- a/libfontenc/src/encparse.c
+++ b/libfontenc/src/encparse.c
@@ -32,6 +32,7 @@ THE SOFTWARE.
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#include "zlib.h"
typedef gzFile FontFilePtr;
diff --git a/libfontenc/src/fontenc.c b/libfontenc/src/fontenc.c
index 4cfa1e59b..7d0ddc589 100644
--- a/libfontenc/src/fontenc.c
+++ b/libfontenc/src/fontenc.c
@@ -25,6 +25,7 @@ THE SOFTWARE.
#include <string.h>
#include <strings.h>
#include <stdlib.h>
+#include <unistd.h>
#define FALSE 0
#define TRUE 1
diff --git a/libfontenc/src/makefile b/libfontenc/src/makefile
new file mode 100644
index 000000000..161c9961f
--- /dev/null
+++ b/libfontenc/src/makefile
@@ -0,0 +1,13 @@
+LIBRARY = libfontenc
+
+CSRCS = \
+ encparse.c \
+ fontenc.c
+
+#FONTENCDIR=@ENCODINGSDIR@
+DEFINES += FONT_ENCODINGS_DIRECTORY="\"encodings.dir\"" strcasecmp=_stricmp
+
+#INCLUDES = -I$(top_srcdir)/include -DFONTENC_NO_LIBFONT $(FONTENCDEFS)
+
+
+