tstc: keep original source as is - scripts - various script and utils
(HTM) git clone git://z3bra.org/scripts
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 2546f759226f049f604453a1f8f1798386316e88
(DIR) parent 6b577e4f61229e5812efeef63e08ecbd255fb3c1
(HTM) Author: z3bra <willyatmailoodotorg>
Date: Tue, 17 Nov 2015 22:05:03 +0100
stc: keep original source as is
Diffstat:
M sct | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/sct b/sct
t@@ -1,4 +1,4 @@
-#!/usr/bin/tcc -run -lm -lX11 -lXrandr
+#!/usr/bin/tcc -run -lm -lX11 -lXrandr -D_BSD_SOURCE
/*
* A nifty little tool to set the color temp of the screen
t@@ -11,6 +11,7 @@
#include <stdio.h>
#include <X11/Xlib.h>
+#include <X11/Xlibint.h>
#include <X11/Xproto.h>
#include <X11/Xatom.h>
#include <X11/extensions/Xrandr.h>