aboutsummaryrefslogtreecommitdiff
path: root/libfontenc/src
diff options
context:
space:
mode:
Diffstat (limited to 'libfontenc/src')
-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 f47454a3e..adb62e661 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 0fafd2f71..98200c91a 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)
+
+
+