Skip to content
Snippets Groups Projects
Commit d01fe8c4 authored by Oliver Sander's avatar Oliver Sander
Browse files

do not include config.h from a header

[[Imported from SVN: r8369]]
parent cb18220a
No related branches found
No related tags found
No related merge requests found
......@@ -58,11 +58,6 @@
#ifndef __COMPILER__
#define __COMPILER__
/* try to import stuff found by autoconf. This is the first time I can
use that C-compilers don't fail compilation if a header doesn't
exist... */
#include "config.h"
/* Include the custom type declarations. This should eventually be included
directly by the headers who need it and not via compiler.h */
#include "ugtypes.h"
......
......@@ -16,8 +16,6 @@
#error Internal UG-lib header, must not be used in applications!
#endif
#include "config.h"
/* --- numerical limits ---*/
#ifdef HAVE_LIMITS_H
......
......@@ -11,8 +11,6 @@
#ifndef UG_UGFILE_H
#define UG_UGFILE_H
#include "config.h"
#ifdef HAVE_DIRENT_H
#include <dirent.h>
#endif
......
......@@ -20,8 +20,6 @@
#error Internal UG-lib header, must not be used in applications!
#endif
#include "config.h"
/* try ISO header first */
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
......
......@@ -16,8 +16,6 @@
#error Internal UG-lib header, must not be used in applications!
#endif
#include "config.h"
/*
Try ISO C header <string.h>
......
......@@ -11,8 +11,6 @@
#ifndef UG_UGTIME_H
#define UG_UGTIME_H
#include "config.h"
#ifdef AUTOTOOLS_BUILD
#ifndef UGLIB
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment