mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-06 04:51:40 -07:00
fix
This commit is contained in:
parent
bbb54239b7
commit
e141c59d2a
1 changed files with 12 additions and 16 deletions
28
hydra.h
28
hydra.h
|
@ -1,4 +1,4 @@
|
||||||
|
#ifndef _HYDRA_H
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#ifdef __sun
|
#ifdef __sun
|
||||||
|
@ -30,20 +30,20 @@
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#ifdef HAVE_OPENSSL
|
#ifdef HAVE_OPENSSL
|
||||||
#define HYDRA_SSL
|
#define HYDRA_SSL
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_SSL
|
#ifdef HAVE_SSL
|
||||||
#ifndef HYDRA_SSL
|
#ifndef HYDRA_SSL
|
||||||
#define HYDRA_SSL
|
#define HYDRA_SSL
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef LIBSSH
|
#ifdef LIBSSH
|
||||||
#include <libssh/libssh.h>
|
#include <libssh/libssh.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_ZLIB
|
#ifdef HAVE_ZLIB
|
||||||
#include <zlib.h>
|
#include <zlib.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define OPTION_SSL 1
|
#define OPTION_SSL 1
|
||||||
|
@ -148,21 +148,17 @@
|
||||||
#define True 1
|
#define True 1
|
||||||
|
|
||||||
#ifndef INET_ADDRSTRLEN
|
#ifndef INET_ADDRSTRLEN
|
||||||
#define INET_ADDRSTRLEN 16
|
#define INET_ADDRSTRLEN 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define MAX_PROXY_COUNT 64
|
#define MAX_PROXY_COUNT 64
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
|
int32_t sleepn(time_t seconds);
|
||||||
int32_t sleepn(time_t seconds);
|
int32_t usleepn(long useconds);
|
||||||
int32_t usleepn(long useconds);
|
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
int32_t sleepn(uint32_t seconds);
|
||||||
int32_t sleepn(uint32_t seconds);
|
int32_t usleepn(uint32_t useconds);
|
||||||
int32_t usleepn(uint32_t useconds);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define _HYDRA_H
|
#define _HYDRA_H
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue