]> git.eshelyaron.com Git - emacs.git/commitdiff
Explicitly include stdlib.h in src/image.c (Bug#72929)
authorPip Cet <pipcet@protonmail.com>
Sun, 1 Sep 2024 15:37:02 +0000 (15:37 +0000)
committerEshel Yaron <me@eshelyaron.com>
Wed, 4 Sep 2024 07:51:57 +0000 (09:51 +0200)
* src/image.c: Add include.

(cherry picked from commit dc2cdd36835cdce9426d0f822590a0d2f47d0bcc)

src/image.c

index 41eeebff36e0f0858097c2b943a803c27195d7f9..34936977a40628ad48317e9021cde928fd2cf193 100644 (file)
@@ -23,6 +23,7 @@ along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.  */
 #include <fcntl.h>
 #include <math.h>
 #include <unistd.h>
+#include <stdlib.h>
 
 /* Include this before including <setjmp.h> to work around bugs with
    older libpng; see Bug#17429.  */