@ -6,7 +6,7 @@
#include "encrypt.h"
#define OFFSET_ROL(p, o) ((u_int64_t)(*(p + o)) << (8 * o))
#define OFFSET_ROL(p, o) ((uint64_t)(*(p + o)) << (8 * o))
static void md5(const uint8_t *text, uint8_t *digest) {
md5_state_t state;
@ -21,7 +21,7 @@
#include "config.h"
#endif
#if defined(HAVE_SYS_IOCTL_H) && defined(HAVE_NET_IF_H)
#if defined(HAVE_SYS_IOCTL_H) && defined(HAVE_NET_IF_H) && defined(__linux__)
#include <net/if.h>
#include <sys/ioctl.h>
#define SET_INTERFACE