aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2014-12-29 00:28:26 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2014-12-29 00:34:56 +0000
commit85781bb78dcef707d569b264d8035a308ab5c640 (patch)
treebfbda4515c977dbf0496274801cf16325cb6eef6 /wsutil
parent8ae669c59f400f0bf87d8cf972729b368e68543e (diff)
Add back string.h to sha1.c and sober128.c
Change-Id: Idd8963717eab804f7d76652d1baf029be8b5997f Reviewed-on: https://code.wireshark.org/review/6105 Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/sha1.c1
-rw-r--r--wsutil/sober128.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/wsutil/sha1.c b/wsutil/sha1.c
index bdad7f24cd..b7a2a76cef 100644
--- a/wsutil/sha1.c
+++ b/wsutil/sha1.c
@@ -25,6 +25,7 @@
* 2012-08-21 - C Elston - Split sha1_hmac function to allow incremental usage.
*/
+#include <string.h>
#include <glib.h>
#include "sha1.h"
diff --git a/wsutil/sober128.c b/wsutil/sober128.c
index bc46903fd0..5534cef3e2 100644
--- a/wsutil/sober128.c
+++ b/wsutil/sober128.c
@@ -21,6 +21,7 @@
*/
#include "sober128.h"
+#include <string.h> /* for memcpy */
#define CONST64(n) n ## ULL