summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-03-04 22:51:20 +0100
committerGravatar Martin Szulecki2014-03-04 22:51:20 +0100
commit88dd6bcf377a367dd01d1a61abad56df70a44eb6 (patch)
treebb32765229bb899de2099b3ca2241fc6195d96aa
parent440fdebcd2cdbc10e14ed08d38f9910c15bdac6b (diff)
downloadlibimobiledevice-88dd6bcf377a367dd01d1a61abad56df70a44eb6.tar.gz
libimobiledevice-88dd6bcf377a367dd01d1a61abad56df70a44eb6.tar.bz2
common: Include config.h for proper handling of HAVE_STPCPY define
-rw-r--r--common/utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/utils.h b/common/utils.h
index 8394272..0e78b3c 100644
--- a/common/utils.h
+++ b/common/utils.h
@@ -22,6 +22,10 @@
#ifndef __UTILS_H
#define __UTILS_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#ifdef WIN32
#include <windows.h>
#endif