diff options
author | Werner Koch <[email protected]> | 2010-11-01 14:57:12 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2010-11-01 14:57:12 +0000 |
commit | 8fbda4494c424a6343ece3a0850372a2e457d641 (patch) | |
tree | 41d5c484f2b0241b19070b45c96dcd194f290451 /src/debug.c | |
parent | Fix bug#1205 (diff) | |
download | libassuan-8fbda4494c424a6343ece3a0850372a2e457d641.tar.gz libassuan-8fbda4494c424a6343ece3a0850372a2e457d641.zip |
Changes to allow building the CE version with MSC.
Diffstat (limited to 'src/debug.c')
-rw-r--r-- | src/debug.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/debug.c b/src/debug.c index 6ebc179..5ed4d4d 100644 --- a/src/debug.c +++ b/src/debug.c @@ -26,13 +26,15 @@ #include <stdlib.h> #include <string.h> #include <stdarg.h> -#include <unistd.h> +#ifdef HAVE_UNISTD_H +# include <unistd.h> +#endif #include <ctype.h> #include <errno.h> #ifndef HAVE_DOSISH_SYSTEM -# include <sys/types.h> -# include <sys/stat.h> -# include <fcntl.h> +# include <sys/types.h> +# include <sys/stat.h> +# include <fcntl.h> #endif #include <assert.h> |