* fs.h: Correctly include <sys/param.h>.
* x.h: Include "global.h". Move all contents ... * global.h: Here.
Этот коммит содержится в:
родитель
680d7fd55c
Коммит
05adbccda8
@ -1,5 +1,9 @@
|
|||||||
2001-08-19 Pavel Roskin <proski@gnu.org>
|
2001-08-19 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* fs.h: Correctly include <sys/param.h>.
|
||||||
|
* x.h: Include "global.h". Move all contents ...
|
||||||
|
* global.h: Here.
|
||||||
|
|
||||||
* regex.c (regex_compile): Warning fix for ambiguous else.
|
* regex.c (regex_compile): Warning fix for ambiguous else.
|
||||||
|
|
||||||
2001-08-18 Pavel Roskin <proski@gnu.org>
|
2001-08-18 Pavel Roskin <proski@gnu.org>
|
||||||
|
4
src/fs.h
4
src/fs.h
@ -6,8 +6,8 @@
|
|||||||
#ifdef HAVE_UNISTD_H
|
#ifdef HAVE_UNISTD_H
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
#ifndef HAS_NO_SYS_PARAM_H
|
#ifdef HAVE_SYS_PARAM_H
|
||||||
#include <sys/param.h>
|
# include <sys/param.h>
|
||||||
#endif
|
#endif
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
|
20
src/global.h
20
src/global.h
@ -2,12 +2,30 @@
|
|||||||
#define __GLOBAL_H
|
#define __GLOBAL_H
|
||||||
|
|
||||||
#include <stdlib.h> /* for free() and other usefull routins */
|
#include <stdlib.h> /* for free() and other usefull routins */
|
||||||
#include "fs.h"
|
#ifdef HAVE_SYS_PARAM_H
|
||||||
|
# include <sys/param.h>
|
||||||
|
#endif
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
|
#ifdef HAVE_GNOME
|
||||||
|
# define GNOME_REGEX_H
|
||||||
|
# include <gnome.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "fs.h"
|
||||||
#include "mem.h"
|
#include "mem.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "mad.h"
|
#include "mad.h"
|
||||||
|
|
||||||
|
#ifndef HAVE_X
|
||||||
|
# include "textconf.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_GNOME
|
||||||
|
# include "gconf.h"
|
||||||
|
# include "gmain.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
extern char *home_dir;
|
extern char *home_dir;
|
||||||
|
|
||||||
#ifdef min
|
#ifdef min
|
||||||
|
14
src/x.h
14
src/x.h
@ -1,18 +1,6 @@
|
|||||||
#ifndef __X_H
|
#ifndef __X_H
|
||||||
#define __X_H
|
#define __X_H
|
||||||
|
|
||||||
#ifndef HAVE_X
|
#include "global.h"
|
||||||
# include "textconf.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_GNOME
|
|
||||||
# ifdef HAVE_SYS_PARAM_H
|
|
||||||
# include <sys/param.h>
|
|
||||||
# endif
|
|
||||||
# define GNOME_REGEX_H
|
|
||||||
# include <gnome.h>
|
|
||||||
# include "gconf.h"
|
|
||||||
# include "gmain.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* __X_H */
|
#endif /* __X_H */
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user