summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-12-01 12:11:31 +0100
committerLuis R. Rodriguez <lrodriguez@atheros.com>2008-12-01 14:33:27 -0800
commit58cba45b21af9acfdc2287c3ed437bd2f9c75063 (patch)
treec28babeceb7629fc388eac80b8e8474e880a8c4c
parentfbe5d97d55a348d5ba70d790812a1441cbf361b8 (diff)
downloadcrda-58cba45b21af9acfdc2287c3ed437bd2f9c75063.tar.gz
crda-58cba45b21af9acfdc2287c3ed437bd2f9c75063.tar.bz2
crda-58cba45b21af9acfdc2287c3ed437bd2f9c75063.zip
Avoid implicit declaration of memset() with OpenSSL.
When building the libgcrypt-based code, string.h is included through libgcrypt itself, but when building with OpenSSL it's missing. Include it explicitly so that it's always safe. Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
-rw-r--r--reglib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/reglib.c b/reglib.c
index c173818..2f10d23 100644
--- a/reglib.c
+++ b/reglib.c
@@ -1,5 +1,6 @@
#include <errno.h>
#include <stdio.h>
+#include <string.h>
#include <arpa/inet.h>
#include "reglib.h"