From: "Diego 'Flameeyes' Pettenò" <flameeyes@gmail.com>
To: linux-wireless@vger.kernel.org
Subject: [crda PATCH 3/3] Avoid implicit declaration of memset() with OpenSSL.
Date: Mon, 01 Dec 2008 12:11:31 +0100 [thread overview]
Message-ID: <20081201111131.20833.81819.stgit@localhost> (raw)
In-Reply-To: <20081201111021.20833.42515.stgit@localhost>
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.
---
reglib.c | 1 +
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"
next prev parent reply other threads:[~2008-12-01 11:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-01 11:11 [crda PATCH 0/3] Code fixups and optimisation Diego 'Flameeyes' Pettenò
2008-12-01 11:11 ` [crda PATCH 1/3] Mark functions static when not used outside their translation unit Diego 'Flameeyes' Pettenò
2008-12-01 11:11 ` [crda PATCH 2/3] Mark constant the generated key tables for libgcrypt Diego 'Flameeyes' Pettenò
2008-12-01 11:11 ` Diego 'Flameeyes' Pettenò [this message]
2008-12-01 22:35 ` [crda PATCH 0/3] Code fixups and optimisation Luis R. Rodriguez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081201111131.20833.81819.stgit@localhost \
--to=flameeyes@gmail.com \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox