# HG changeset patch # User nenolod # Date 1158572032 25200 # Node ID c7ab1203d933bb6eee9df8021a6030968275664e # Parent 1cd9aa465ea7c2d7146d428f8116f8bd56c0ab2b [svn] - only include non-SDK things if _AUDACIOUS_CORE is defined. diff -r 1cd9aa465ea7 -r c7ab1203d933 ChangeLog --- a/ChangeLog Mon Sep 18 02:30:57 2006 -0700 +++ b/ChangeLog Mon Sep 18 02:33:52 2006 -0700 @@ -1,3 +1,12 @@ +2006-09-18 09:30:57 +0000 William Pitcock + revision [2417] + - export main.h API + + + Changes: Modified: + +1 -0 trunk/audacious/Makefile + + 2006-09-18 09:06:40 +0000 William Pitcock revision [2415] - export xentry and xconvert API diff -r 1cd9aa465ea7 -r c7ab1203d933 audacious/Makefile --- a/audacious/Makefile Mon Sep 18 02:30:57 2006 -0700 +++ b/audacious/Makefile Mon Sep 18 02:33:52 2006 -0700 @@ -23,6 +23,7 @@ $(LIBGLADE_CFLAGS) \ $(BEEP_DEFINES) \ $(ARCH_DEFINES) \ + -D_AUDACIOUS_CORE \ -I.. \ -I../intl diff -r 1cd9aa465ea7 -r c7ab1203d933 audacious/main.h --- 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 #include