gentoo-overlay/dev-libs/mapm/files/4.9.5-missing_include.patch

12 lines
390 B
Diff

diff -Naur mapm_4.9.5.orig/m_apm.h mapm_4.9.5/m_apm.h
--- mapm_4.9.5.orig/m_apm.h 2009-03-02 11:55:18.914770612 +0100
+++ mapm_4.9.5/m_apm.h 2009-03-02 11:56:19.585923499 +0100
@@ -159,6 +159,8 @@
#ifndef M__APM__INCLUDED
#define M__APM__INCLUDED
+#include <stdlib.h>
+
#ifdef __cplusplus
/* Comment this line out if you've compiled the library as C++. */
#define APM_CONVERT_FROM_C