summaryrefslogtreecommitdiff
path: root/src/bencode.c
diff options
context:
space:
mode:
authorGravatar Patrick Griffis <tingping@tingping.se>2015-12-26 21:00:14 -0500
committerGravatar Patrick Griffis <tingping@tingping.se>2016-01-19 19:35:10 -0500
commite399c4189962cdeace1210b2de0999c519411fcc (patch)
treec46d21d958b4f62eec4cf84930b8f7ead27ed05f /src/bencode.c
parent8a9894874ecbec59c8b34db7ee3ded3f3375b703 (diff)
Consistently include config.h
This still needs some work in a few headers that depend on it
Diffstat (limited to 'src/bencode.c')
-rw-r--r--src/bencode.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bencode.c b/src/bencode.c
index 89f35ed..476baeb 100644
--- a/src/bencode.c
+++ b/src/bencode.c
@@ -24,6 +24,10 @@
* into the public domain as well).
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h> /* malloc() realloc() free() strtoll() */
#include <string.h> /* memset() */
#include <ctype.h>