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:
@@ -34,6 +34,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "baselocl.h"
|
#include "baselocl.h"
|
||||||
|
#include "heimbase-atomics.h"
|
||||||
#include <syslog.h>
|
#include <syslog.h>
|
||||||
|
|
||||||
static heim_base_atomic_integer_type tidglobal = HEIM_TID_USER;
|
static heim_base_atomic_integer_type tidglobal = HEIM_TID_USER;
|
||||||
|
@@ -36,8 +36,6 @@
|
|||||||
#ifndef HEIM_BASE_H
|
#ifndef HEIM_BASE_H
|
||||||
#define HEIM_BASE_H 1
|
#define HEIM_BASE_H 1
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
@@ -537,7 +535,6 @@ void *heim_w32_getspecific(unsigned long);
|
|||||||
void heim_w32_service_thread_detach(void *);
|
void heim_w32_service_thread_detach(void *);
|
||||||
|
|
||||||
#include <heim_threads.h>
|
#include <heim_threads.h>
|
||||||
#include "heimbase-atomics.h"
|
|
||||||
#include <com_err.h>
|
#include <com_err.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -35,6 +35,7 @@
|
|||||||
|
|
||||||
#include "baselocl.h"
|
#include "baselocl.h"
|
||||||
#include "heim_threads.h"
|
#include "heim_threads.h"
|
||||||
|
#include "heimbase-atomics.h"
|
||||||
#include "heimbase.h"
|
#include "heimbase.h"
|
||||||
#include "heimbase-svc.h"
|
#include "heimbase-svc.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
@@ -42,6 +42,7 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
#include <heimbase.h>
|
#include <heimbase.h>
|
||||||
|
#include "heimbase-atomics.h"
|
||||||
|
|
||||||
#include <gssapi_asn1.h>
|
#include <gssapi_asn1.h>
|
||||||
#include <der.h>
|
#include <der.h>
|
||||||
|
@@ -82,6 +82,7 @@ struct mbuf;
|
|||||||
#include <com_err.h>
|
#include <com_err.h>
|
||||||
|
|
||||||
#include <heimbase.h>
|
#include <heimbase.h>
|
||||||
|
#include "heimbase-atomics.h"
|
||||||
|
|
||||||
#define HEIMDAL_TEXTDOMAIN "heimdal_krb5"
|
#define HEIMDAL_TEXTDOMAIN "heimdal_krb5"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user