aboutsummaryrefslogtreecommitdiff
path: root/src/string.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2017-10-28 14:31:37 +0200
committerAndreas Schneider <asn@cryptomilk.org>2017-10-28 14:31:37 +0200
commitf0ddde48262a2f6b71dda3b9718b1f216448060d (patch)
treec56821080815409c6c490b59a0cfe05209908be4 /src/string.c
parentd3834f69bc3ddaccdccf6df09c5526224ece761d (diff)
downloadlibssh-f0ddde48262a2f6b71dda3b9718b1f216448060d.tar.gz
libssh-f0ddde48262a2f6b71dda3b9718b1f216448060d.tar.xz
libssh-f0ddde48262a2f6b71dda3b9718b1f216448060d.zip
Fix config.h includes
We need stdlib.h and string.h in priv.h for free() and memset(). Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/string.c')
-rw-r--r--src/string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/string.c b/src/string.c
index ba112716..67bce7dc 100644
--- a/src/string.c
+++ b/src/string.c
@@ -21,10 +21,10 @@
* MA 02111-1307, USA.
*/
+#include "config.h"
+
#include <errno.h>
#include <limits.h>
-#include <stdlib.h>
-#include <string.h>
#ifndef _WIN32
#include <netinet/in.h>