diff options
author | waker <wakeroid@gmail.com> | 2012-05-22 22:21:55 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-05-22 22:21:55 +0200 |
commit | df0232d67ee161abc1c1341856a2c5e60b9e568a (patch) | |
tree | 52ae43f2f5edf3f5df424117872f1b2e4890d6e5 /common.h | |
parent | 8e34cdbf453a70e720913c6346ece19598c3ba54 (diff) |
implemented playlist saving as atomic operation; fixed few PATH_MAX definitions
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -19,8 +19,11 @@ #define __COMMON_H #include <limits.h> -#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 <sys/syslimits.h> #endif #define min(x,y) ((x)<(y)?(x):(y)) |