mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-21 05:43:52 -07:00
errno shouldn't be declared by programmers, errno should be declared
in <errno.h>, furthermore the bionic libc define it as __errno, which is not an integer as declared in hydra.c, so type mismatch error is fired.
This commit is contained in:
parent
0af3dcd4f4
commit
9f5dfeecaa
1 changed files with 2 additions and 0 deletions
2
hydra.c
2
hydra.c
|
@ -264,7 +264,9 @@ typedef struct {
|
||||||
|
|
||||||
// external vars
|
// external vars
|
||||||
extern char HYDRA_EXIT[5];
|
extern char HYDRA_EXIT[5];
|
||||||
|
#if !defined(ANDROID) && !defined(__BIONIC__)
|
||||||
extern int errno;
|
extern int errno;
|
||||||
|
#endif
|
||||||
extern int debug;
|
extern int debug;
|
||||||
extern int verbose;
|
extern int verbose;
|
||||||
extern int waittime;
|
extern int waittime;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue