aboutsummaryrefslogtreecommitdiff
path: root/libfontenc/src/fontenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libfontenc/src/fontenc.c')
-rw-r--r--libfontenc/src/fontenc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libfontenc/src/fontenc.c b/libfontenc/src/fontenc.c
index a121eca8f..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
@@ -37,9 +38,6 @@ THE SOFTWARE.
#include <X11/fonts/fontenc.h>
#include "fontencI.h"
-#ifdef _MSC_VER
-#define strdup _strdup
-#endif
/* Functions local to this file */