diff options
author | Nicholas Tay <nick@windblume.net> | 2021-12-02 18:50:46 +1100 |
---|---|---|
committer | Nicholas Tay <nick@windblume.net> | 2021-12-02 18:50:46 +1100 |
commit | 22f1a4d6c362db0704459f227163d68d51a5ad56 (patch) | |
tree | 10bd728a047405688422c38b3aabb018c159050c | |
parent | d6ab9640056af4dbf9a27f18a9291426b20b7eb9 (diff) | |
download | passgen-22f1a4d6c362db0704459f227163d68d51a5ad56.tar.gz passgen-22f1a4d6c362db0704459f227163d68d51a5ad56.tar.bz2 passgen-22f1a4d6c362db0704459f227163d68d51a5ad56.zip |
Needless import of unistd on Linux
-rw-r--r-- | passgen.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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; \ |