mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-20 21:33:51 -07:00
Fix compilation warning for long unsigned value printing
This commit is contained in:
parent
b3ddd4a2d2
commit
e1e708d1a1
2 changed files with 30 additions and 23 deletions
9
hydra.h
9
hydra.h
|
@ -3,11 +3,18 @@
|
|||
#include <stdio.h>
|
||||
#ifdef __sun
|
||||
#include <sys/int_types.h>
|
||||
#elif defined(__FreeBSD__) || defined(__IBMCPP__) || defined(_AIX)
|
||||
#elif defined(__FreeBSD__) || defined(__IBMCPP__) || defined(_AIX) || defined(__APPLE__)
|
||||
#include <inttypes.h>
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#if defined(_INTTYPES_H) || defined(__CLANG_INTTYPES_H)
|
||||
#define hPRIu64 PRIu64
|
||||
#else
|
||||
#define hPRIu64 "lu"
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include <unistd.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue