summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-11-04 13:38:23 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-11-04 13:38:23 +0000
commit18e9d42b59925987d8128096c4a7ea6d49721862 (patch)
tree88c937bff6ebdfb615423012e29ef12a772f645a /src
parentcc2da1f3790db3d689fac08d4afc0404297e6d89 (diff)
downloadmpc-18e9d42b59925987d8128096c4a7ea6d49721862.tar.gz
mpc-impl.h, random.c: include config.h as first include file
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1111 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'src')
-rw-r--r--src/mpc-impl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mpc-impl.h b/src/mpc-impl.h
index 88a49d8..1293273 100644
--- a/src/mpc-impl.h
+++ b/src/mpc-impl.h
@@ -28,8 +28,10 @@ along with this program. If not, see http://www.gnu.org/licenses/ .
#define __MPC_WITHIN_MPC 1
#endif
-#include <stdlib.h>
#include "config.h"
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
#include "mpc.h"
#define MPC_RE(x) ((x)->re)