diff options
Diffstat (limited to 'plugins/converter/converter.c')
-rw-r--r-- | plugins/converter/converter.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/converter/converter.c b/plugins/converter/converter.c index ad68bab9..ed276f20 100644 --- a/plugins/converter/converter.c +++ b/plugins/converter/converter.c @@ -16,6 +16,12 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#ifdef HAVE_CONFIG_H +# include "../../config.h" +#endif +#if HAVE_SYS_SYSLIMITS_H +#include <sys/syslimits.h> +#endif #include <stdlib.h> #include <string.h> #include <sys/types.h> @@ -36,10 +42,6 @@ }) #endif -#ifndef PATH_MAX -#define PATH_MAX 1024 /* max # of characters in a path name */ -#endif - #ifndef __linux__ #define O_LARGEFILE 0 #endif |