mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
fix missing includes of <X11/Xfuncproto.h>
Several places using _X_ATTRIBUTE_PRINTF macro from X11/Xfuncproto.h but missing to include it, so it depends on other headers whether it's included by mere accident, which quickly causes trouble if include order changes. Cleaning that up by adding explicit include statements. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1580>
This commit is contained in:
committed by
Marge Bot
parent
522f469fe9
commit
b30edf326b
@@ -58,6 +58,8 @@ SOFTWARE.
|
||||
#include <time.h>
|
||||
#endif
|
||||
|
||||
#include <X11/Xfuncproto.h>
|
||||
|
||||
#define SCREEN_SAVER_ON 0
|
||||
#define SCREEN_SAVER_OFF 1
|
||||
#define SCREEN_SAVER_FORCER 2
|
||||
|
||||
Reference in New Issue
Block a user