From f1537fd8bcd565ff144335a36bc87d3fd834da07 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 7 May 2016 19:33:29 -0400 Subject: stop including term.h in runes.h --- src/display.c | 1 + src/pty-unix.c | 1 + src/runes.h | 1 - src/socket.c | 1 + src/term.c | 1 + src/window-xlib.c | 1 + 6 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/display.c b/src/display.c index f26026f..c26c692 100644 --- a/src/display.c +++ b/src/display.c @@ -5,6 +5,7 @@ #include "display.h" #include "config.h" +#include "term.h" static void runes_display_recalculate_font_metrics( RunesDisplay *display, char *font_name); diff --git a/src/pty-unix.c b/src/pty-unix.c index 3c69849..7ee5edf 100644 --- a/src/pty-unix.c +++ b/src/pty-unix.c @@ -13,6 +13,7 @@ #include "config.h" #include "loop.h" +#include "term.h" #include "window-xlib.h" static void runes_pty_backend_read(RunesTerm *t); diff --git a/src/runes.h b/src/runes.h index 5be7e78..a5ed4a4 100644 --- a/src/runes.h +++ b/src/runes.h @@ -18,6 +18,5 @@ typedef struct runes_loop RunesLoop; typedef struct runes_socket RunesSocket; #include "util.h" -#include "term.h" #endif diff --git a/src/socket.c b/src/socket.c index 3638f74..f66da5c 100644 --- a/src/socket.c +++ b/src/socket.c @@ -10,6 +10,7 @@ #include "socket.h" #include "loop.h" +#include "term.h" static int runes_socket_open(RunesSocket *sock); static void runes_socket_close(RunesSocket *sock); diff --git a/src/term.c b/src/term.c index 1b038a4..84d7f4f 100644 --- a/src/term.c +++ b/src/term.c @@ -2,6 +2,7 @@ #include #include "runes.h" +#include "term.h" #include "config.h" #include "display.h" diff --git a/src/window-xlib.c b/src/window-xlib.c index d2c3b80..f3b924a 100644 --- a/src/window-xlib.c +++ b/src/window-xlib.c @@ -14,6 +14,7 @@ #include "display.h" #include "loop.h" #include "pty-unix.h" +#include "term.h" static char *atom_names[RUNES_NUM_ATOMS] = { "WM_DELETE_WINDOW", -- cgit v1.2.3