mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-18 02:55:12 +00:00
fix compiling in a messy way
A cleaner but more ugly solution would be to include text_object.h in every header containing struct text_object definitions. But this apparently triggers a big mess, since text_object.h itself includes custom headers. Forward defining struct text_object is obviously the mostly simple solution until there is a bigger header include review cleaning it all up.
This commit is contained in:
parent
a106b52698
commit
d1ed9c8399
@ -63,6 +63,9 @@ char *strndup(const char *s, size_t n);
|
||||
* in every code file optionally using the feature
|
||||
*/
|
||||
|
||||
/* forward define to make gcc happy */
|
||||
struct text_object;
|
||||
|
||||
#ifdef AUDACIOUS
|
||||
#include "audacious.h"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user