summaryrefslogtreecommitdiffstats
path: root/window.c
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2015-10-28 21:37:45 +0100
committerBert Münnich <ber.t@posteo.de>2015-10-28 21:37:45 +0100
commite574a6d0dd209cba5e61f23c992a8d6d9bd1fc90 (patch)
tree3ca43da6fcc51e0694756f89d94ad8161ade2c9a /window.c
parente0e96977b348772cac67282a6591d6c58eeaa927 (diff)
downloadnsxiv-e574a6d0dd209cba5e61f23c992a8d6d9bd1fc90.tar.zst
Removed feature test macro definitions from source files
Diffstat (limited to 'window.c')
-rw-r--r--window.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/window.c b/window.c
index ec6cc04..f0929ac 100644
--- a/window.c
+++ b/window.c
@@ -16,9 +16,6 @@
* along with sxiv. If not, see <http://www.gnu.org/licenses/>.
*/
-#define _POSIX_C_SOURCE 200112L
-#define _WINDOW_CONFIG
-
#include <stdlib.h>
#include <string.h>
#include <locale.h>
@@ -28,9 +25,11 @@
#include "options.h"
#include "util.h"
#include "window.h"
-#include "config.h"
#include "icon/data.h"
+#define _WINDOW_CONFIG
+#include "config.h"
+
enum {
H_TEXT_PAD = 5,
V_TEXT_PAD = 1