aboutsummaryrefslogtreecommitdiff
path: root/passgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'passgen.c')
-rw-r--r--passgen.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/passgen.c b/passgen.c
index bea56fc..91d62fd 100644
--- a/passgen.c
+++ b/passgen.c
@@ -9,14 +9,16 @@
#include <sys/random.h>
#else
#include <time.h>
-#endif
#if defined (_WIN32) && ! defined (__MINGW32__)
#include <io.h>
-#else
+#elif ! defined (__linux__)
#include <unistd.h>
#endif
+#endif
+
+
#define CLASS(c, chars) \
case c: \
class = chars; \