Added WINDOW_REC declaration to common.h, removed unneeded #include "servers.h" from fe-windows.h which broke several files, added the #include in them.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2272 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-12-20 02:14:49 +00:00 committed by cras
commit bf5b6c08c5
13 changed files with 19 additions and 6 deletions

View file

@ -1,7 +1,6 @@
#ifndef __WINDOWS_H
#define __WINDOWS_H
#include "servers.h"
#include "window-item-def.h"
enum {
@ -17,7 +16,7 @@ typedef struct {
unsigned int sticky:1;
} WINDOW_BIND_REC;
typedef struct {
struct _WINDOW_REC {
int refnum;
char *name;
@ -48,7 +47,7 @@ typedef struct {
void *theme; /* THEME_REC */
void *gui_data;
} WINDOW_REC;
};
extern GSList *windows;
extern WINDOW_REC *active_win;