- remove config.h from e.h and put it into the .c files that need it.

e.h is an installed header so modules can be written outside the e tree.
  config.h isn't installed by e. so, if the module dosen't have a config.h
  and the local directory in their include path the build will fail.


SVN revision: 16719
This commit is contained in:
Dan Sinclair 2005-09-14 20:19:44 +00:00 committed by Dan Sinclair
parent 1acab7e3e5
commit 02a815f78a
8 changed files with 7 additions and 2 deletions

View File

@ -4,8 +4,6 @@
#ifndef E_H
#define E_H
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

View File

@ -2,6 +2,7 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#include "e.h"
#include "config.h"
void
e_hints_init(void)

View File

@ -2,6 +2,7 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#include "e.h"
#include "config.h"
typedef struct _Main_Data Main_Data;

View File

@ -2,6 +2,7 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#include "e.h"
#include "config.h"
/* TODO List:
*

View File

@ -2,6 +2,7 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#include "e.h"
#include "config.h"
/* local subsystem functions */
static void _e_main_shutdown_push(int (*func)(void));

View File

@ -2,6 +2,7 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#include "e.h"
#include "config.h"
/* TODO List:
*

View File

@ -2,6 +2,7 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#include "e.h"
#include "config.h"
/* local subsystem functions */
static int _e_prefix_fallbacks(void);

View File

@ -5,6 +5,7 @@
#include <errno.h>
#include <ctype.h>
#include "e_mod_main.h"
#include "config.h"
#ifdef __FreeBSD__
#include <sys/types.h>