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 675fc740b..9fe615436 100644
--- a/libfontenc/src/encparse.c
+++ b/libfontenc/src/encparse.c
@@ -35,6 +35,7 @@ THE SOFTWARE.
#endif
#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 16f180b69..b87602c49 100644
--- a/libfontenc/src/fontenc.c
+++ b/libfontenc/src/fontenc.c
@@ -29,6 +29,7 @@ THE SOFTWARE.
#endif
#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)
+
+
+