aboutsummaryrefslogtreecommitdiff
path: root/libfontenc/src/encparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'libfontenc/src/encparse.c')
-rw-r--r--libfontenc/src/encparse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libfontenc/src/encparse.c b/libfontenc/src/encparse.c
index 675fc740b..efc766bf3 100644
--- a/libfontenc/src/encparse.c
+++ b/libfontenc/src/encparse.c
@@ -35,6 +35,9 @@ THE SOFTWARE.
#endif
#include <stdlib.h>
+#ifdef _MSC_VER
+#define strdup _strdup
+#endif
#include "zlib.h"
typedef gzFile FontFilePtr;