aboutsummaryrefslogtreecommitdiffstats
path: root/src/fd_util.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-11 14:15:34 +0100
committerMax Kellermann <max@duempel.org>2009-11-11 14:15:34 +0100
commit9d1a34e30b70e90a3b22cad136f1904a1d182021 (patch)
tree1bda100674191856411fc0a07ead60778e846455 /src/fd_util.c
parent69d9716f8b7442c843c3f800d003d7311951b950 (diff)
downloadmpd-9d1a34e30b70e90a3b22cad136f1904a1d182021.tar.gz
mpd-9d1a34e30b70e90a3b22cad136f1904a1d182021.tar.xz
mpd-9d1a34e30b70e90a3b22cad136f1904a1d182021.zip
added missing config.h includes for extended LFS support
All sources which might work with large files must include config.h, to get Large File Support on 32 bit platforms.
Diffstat (limited to 'src/fd_util.c')
-rw-r--r--src/fd_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fd_util.c b/src/fd_util.c
index f78b8ed8b..f2ec4fcb3 100644
--- a/src/fd_util.c
+++ b/src/fd_util.c
@@ -26,8 +26,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "config.h" /* must be first for large file support */
#include "fd_util.h"
-#include "config.h"
#if !defined(_GNU_SOURCE) && (defined(HAVE_PIPE2) || defined(HAVE_ACCEPT4))
#define _GNU_SOURCE