From a48dab80b41e90194711a45e5012659b7a83da4f Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 10 Aug 2014 23:54:41 +0000 Subject: Get rid of HAVE_CONFIG_H, it is always defined; idea from libnbcompat. Include where needed, it does not belong in config.h. Remove from config.h; if it is missing somewhere, it should be added, but i cannot find a *.c file where it is missing. --- compat_fgetln.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'compat_fgetln.c') diff --git a/compat_fgetln.c b/compat_fgetln.c index 49c9985b..667d1f76 100644 --- a/compat_fgetln.c +++ b/compat_fgetln.c @@ -1,6 +1,4 @@ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #ifdef HAVE_FGETLN @@ -41,6 +39,9 @@ int dummy; * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ + +#include + #include #include #include -- cgit