diff options
author | marha <marha@users.sourceforge.net> | 2010-06-20 14:26:02 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-06-20 14:26:02 +0000 |
commit | 613f796c5d7850df96930ca94fa662191ce4d382 (patch) | |
tree | 07459f47d2662a3f48ad3ef61799cd6127967b42 /libXfont/src | |
parent | e66a2779375c0aab603997d919d4c9619e4fa697 (diff) | |
download | vcxsrv-613f796c5d7850df96930ca94fa662191ce4d382.tar.gz vcxsrv-613f796c5d7850df96930ca94fa662191ce4d382.tar.bz2 vcxsrv-613f796c5d7850df96930ca94fa662191ce4d382.zip |
include unistd.h where strdup is used.
Diffstat (limited to 'libXfont/src')
-rw-r--r-- | libXfont/src/builtins/dir.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libXfont/src/builtins/dir.c b/libXfont/src/builtins/dir.c index 9b0a1c720..cd50cef56 100644 --- a/libXfont/src/builtins/dir.c +++ b/libXfont/src/builtins/dir.c @@ -25,9 +25,7 @@ #include <config.h> #endif #include "builtin.h" -#ifdef _MSC_VER -#define strdup _strdup -#endif +#include <unistd.h> static BuiltinDirPtr BuiltinDirsDup (const BuiltinDirPtr a_dirs, |