Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/neutrinolabs/libpainter.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2017-02-06 07:13:13 +0300
committermetalefty <meta@vmeta.jp>2017-02-08 05:25:55 +0300
commitde9383b3de27d08da288697f6f6113b69062e4cd (patch)
treec6763513b871d2921b299404645a5f60f3a8a8b3
parent2b8d938f9c2ed8512f79f735d33ef01dad6b6005 (diff)
Include config_ac.h from all source files
-rw-r--r--src/painter.c4
-rw-r--r--src/painter_utils.c4
-rw-r--r--tests/paintertest.c3
3 files changed, 11 insertions, 0 deletions
diff --git a/src/painter.c b/src/painter.c
index 160ba04..a7cd2a3 100644
--- a/src/painter.c
+++ b/src/painter.c
@@ -16,6 +16,10 @@
* limitations under the License.
*/
+#if defined(HAVE_CONFIG_H)
+#include <config_ac.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/src/painter_utils.c b/src/painter_utils.c
index a3a5280..998316f 100644
--- a/src/painter_utils.c
+++ b/src/painter_utils.c
@@ -16,6 +16,10 @@
* limitations under the License.
*/
+#if defined(HAVE_CONFIG_H)
+#include <config_ac.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/tests/paintertest.c b/tests/paintertest.c
index f8100d8..b425dac 100644
--- a/tests/paintertest.c
+++ b/tests/paintertest.c
@@ -1,3 +1,6 @@
+#if defined(HAVE_CONFIG_H)
+#include <config_ac.h>
+#endif
#include <stdio.h>
#include <stdlib.h>