summaryrefslogtreecommitdiff
path: root/src/mpc-impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mpc-impl.h')
-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)