1
1

* fs.h: Correctly include <sys/param.h>.

* x.h: Include "global.h".  Move all contents ...
* global.h: Here.
Этот коммит содержится в:
Pavel Roskin 2001-08-19 16:23:24 +00:00
родитель 680d7fd55c
Коммит 05adbccda8
4 изменённых файлов: 26 добавлений и 16 удалений

Просмотреть файл

@ -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>

Просмотреть файл

@ -6,7 +6,7 @@
#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>

Просмотреть файл

@ -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
Просмотреть файл

@ -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 */