diff audacious/main.h @ 1741:c7ab1203d933 trunk

[svn] - only include non-SDK things if _AUDACIOUS_CORE is defined.
author nenolod
date Mon, 18 Sep 2006 02:33:52 -0700
parents 43ae2a1bfdee
children 4fa99b5e8f24
line wrap: on
line diff
--- a/audacious/main.h	Mon Sep 18 02:30:57 2006 -0700
+++ b/audacious/main.h	Mon Sep 18 02:33:52 2006 -0700
@@ -22,8 +22,10 @@
 #ifndef MAIN_H
 #define MAIN_H
 
-#include "widgets/widgetcore.h"
-#include "mainwin.h"
+#ifdef _AUDACIOUS_CORE
+# include "widgets/widgetcore.h"
+# include "mainwin.h"
+#endif
 
 #include <sys/types.h>
 #include <sys/stat.h>