diff options
author | Yang Tse <yangsita@gmail.com> | 2008-08-31 12:12:35 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-08-31 12:12:35 +0000 |
commit | 79ffbf7fe1af3fb3d6a4a1ad31eeaaecb1dbd8e6 (patch) | |
tree | f32c0a37b801eba76087d9899cf0885d7edaf8e4 /docs/examples/fopen.c | |
parent | 4f0d286d2c24fd0104e4769f190277b39dc50474 (diff) |
MSVC adjustment
Diffstat (limited to 'docs/examples/fopen.c')
-rw-r--r-- | docs/examples/fopen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/examples/fopen.c b/docs/examples/fopen.c index 9801e15c1..0a9e9e30d 100644 --- a/docs/examples/fopen.c +++ b/docs/examples/fopen.c @@ -45,7 +45,9 @@ #include <stdio.h> #include <string.h> -#include <sys/time.h> +#ifndef WIN32 +# include <sys/time.h> +#endif #include <stdlib.h> #include <errno.h> |