summaryrefslogtreecommitdiff
path: root/audio/libtunepimp/patches/patch-lib_write.cpp
blob: 57d5f9b03cfeee26ffe299f3d0d5d5e90cc489c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-lib_write.cpp,v 1.1 2013/04/29 21:31:09 joerg Exp $

--- lib/write.cpp.orig	2013-04-28 12:27:41.000000000 +0000
+++ lib/write.cpp
@@ -35,6 +35,7 @@
 #  include <sys/stat.h>
 #  include <sys/types.h>
 #  include <fcntl.h>
+#  include <stdlib.h>
 #  if defined(__APPLE__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
 #    include <sys/param.h>
 #    include <sys/mount.h>