summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2012-05-21 22:16:27 +0200
committerGravatar waker <wakeroid@gmail.com>2012-05-21 22:16:27 +0200
commit6ddc4875cb7e7cf5f98e1fc550e5c9fe2295cfee (patch)
tree55f84dd7033c3b0933123687b21a2b7eae2dacdf /plugins
parent84c89f378d23232054cdc9a16ac76f089bd6cba2 (diff)
bsd sys/syslimits.h fix
Diffstat (limited to 'plugins')
-rw-r--r--plugins/artwork/artwork.c2
-rw-r--r--plugins/cdda/cdda.c6
2 files changed, 7 insertions, 1 deletions
diff --git a/plugins/artwork/artwork.c b/plugins/artwork/artwork.c
index 6ba07522..8f60455d 100644
--- a/plugins/artwork/artwork.c
+++ b/plugins/artwork/artwork.c
@@ -1,5 +1,5 @@
#ifdef HAVE_CONFIG_H
-# include <config.h>
+# include "../../config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
diff --git a/plugins/cdda/cdda.c b/plugins/cdda/cdda.c
index 0705ad84..9813b2a5 100644
--- a/plugins/cdda/cdda.c
+++ b/plugins/cdda/cdda.c
@@ -18,11 +18,17 @@
/* screwed/maintained by Alexey Yakovenko <waker@users.sourceforge.net> */
+#ifdef HAVE_CONFIG_H
+# include "../../config.h"
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <sys/types.h>
+#if HAVE_SYS_SYSLIMITS_H
+#include <sys/syslimits.h>
+#endif
#include <cdio/cdio.h>
#include <cdio/cdtext.h>