mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 02:25:09 +00:00
Make sure that no X11 stuff is in the binary when not requested
This commit is contained in:
parent
01bc44aaf6
commit
c91e2ed38e
@ -317,7 +317,9 @@ int spaced_print(char *, int, const char *, int, ...)
|
||||
__attribute__((format(printf, 3, 5)));
|
||||
extern int inotify_fd;
|
||||
|
||||
#ifdef X11
|
||||
#define TO_X 1
|
||||
#endif
|
||||
#define TO_STDOUT 2
|
||||
#define TO_STDERR 4
|
||||
#define OVERWRITE_FILE 8
|
||||
|
@ -183,4 +183,3 @@ void load_fonts(void)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -24,6 +24,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
#ifdef X11
|
||||
#ifndef _FONTS_H
|
||||
#define _FONTS_H
|
||||
|
||||
@ -76,3 +77,4 @@ void free_fonts(void);
|
||||
void load_fonts(void);
|
||||
|
||||
#endif /* _FONTS_H */
|
||||
#endif /* X11 */
|
||||
|
Loading…
Reference in New Issue
Block a user