mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-15 17:47:09 +00:00
Fix some include ordering/build stuff.
This commit is contained in:
parent
76b0f049bc
commit
7247a4c1e6
@ -26,7 +26,6 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "gui.h"
|
||||
#include "common.h"
|
||||
#include "config.h"
|
||||
|
10
src/gui.h
10
src/gui.h
@ -21,10 +21,9 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#ifdef BUILD_GUI
|
||||
#ifndef GUI_H_
|
||||
#define GUI_H_
|
||||
#include "config.h"
|
||||
|
||||
#ifdef BUILD_X11
|
||||
#include "x11.h"
|
||||
@ -40,7 +39,7 @@ extern bool have_argb_visual;
|
||||
|
||||
#ifdef BUILD_X11
|
||||
extern Display *display;
|
||||
#endif
|
||||
#endif /* BUILD_X11 */
|
||||
extern int display_width;
|
||||
extern int display_height;
|
||||
extern int screen;
|
||||
@ -162,6 +161,3 @@ extern conky::range_config_setting<int> own_window_argb_value;
|
||||
#endif /*BUILD_ARGB*/
|
||||
#endif /*OWN_WINDOW*/
|
||||
extern priv::own_window_setting own_window;
|
||||
|
||||
#endif /*GUI_H_*/
|
||||
#endif /* BUILD_GUI */
|
||||
|
Loading…
Reference in New Issue
Block a user