From df0232d67ee161abc1c1341856a2c5e60b9e568a Mon Sep 17 00:00:00 2001 From: waker Date: Tue, 22 May 2012 22:21:55 +0200 Subject: implemented playlist saving as atomic operation; fixed few PATH_MAX definitions --- common.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'common.h') diff --git a/common.h b/common.h index 39355685..0b8fe998 100644 --- a/common.h +++ b/common.h @@ -19,8 +19,11 @@ #define __COMMON_H #include -#ifndef PATH_MAX -#define PATH_MAX 1024 /* max # of characters in a path name */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif +#if HAVE_SYS_SYSLIMITS_H +#include #endif #define min(x,y) ((x)<(y)?(x):(y)) -- cgit v1.2.3