blob: b46220d0eff53f3db6075759071bd921151fa611 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
--- a/src/modes.c
+++ b/src/modes.c
@@ -20,6 +20,7 @@
#include <sys/types.h>
#include <stdio.h>
+#include <string.h>
#include "modes.h"
#include "rc4.h"
#include "wlan/wlan_compat.h"
--- a/src/wepattack.c
+++ b/src/wepattack.c
@@ -32,6 +32,7 @@
#include <zlib.h>
#include <math.h>
#include <signal.h>
+#include <string.h>
#include "wepattack.h"
#include "wepfilter.h"
#include "log.h"
--- a/src/verify.c
+++ b/src/verify.c
@@ -19,6 +19,7 @@
#include <stdio.h>
#include <zlib.h>
+#include <string.h> /* memcmp() */
int verify_crc32(unsigned char *data, int length, unsigned long* crc) {
|