Do not include config.h in heimbase.h (fix #447)

We can't include config.h in public headers, as config.h is not public.

This reverts part of commit a8f0905b71.
This commit is contained in:
Nicolas Williams
2022-12-08 13:20:58 -06:00
parent 4303e7b2a3
commit aaff3aa5c5
5 changed files with 4 additions and 3 deletions

View File

@@ -34,6 +34,7 @@
*/
#include "baselocl.h"
#include "heimbase-atomics.h"
#include <syslog.h>
static heim_base_atomic_integer_type tidglobal = HEIM_TID_USER;

View File

@@ -36,8 +36,6 @@
#ifndef HEIM_BASE_H
#define HEIM_BASE_H 1
#include "config.h"
#include <sys/types.h>
#ifndef _WIN32
#include <sys/socket.h>
@@ -537,7 +535,6 @@ void *heim_w32_getspecific(unsigned long);
void heim_w32_service_thread_detach(void *);
#include <heim_threads.h>
#include "heimbase-atomics.h"
#include <com_err.h>
/*

View File

@@ -35,6 +35,7 @@
#include "baselocl.h"
#include "heim_threads.h"
#include "heimbase-atomics.h"
#include "heimbase.h"
#include "heimbase-svc.h"
#include <assert.h>

View File

@@ -42,6 +42,7 @@
#include <ctype.h>
#include <heimbase.h>
#include "heimbase-atomics.h"
#include <gssapi_asn1.h>
#include <der.h>

View File

@@ -82,6 +82,7 @@ struct mbuf;
#include <com_err.h>
#include <heimbase.h>
#include "heimbase-atomics.h"
#define HEIMDAL_TEXTDOMAIN "heimdal_krb5"