summaryrefslogtreecommitdiffstats
path: root/lib/libaccess
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libaccess')
-rw-r--r--lib/libaccess/access_plhash.cpp5
-rw-r--r--lib/libaccess/access_plhash.h5
-rw-r--r--lib/libaccess/acl.tab.cpp5
-rw-r--r--lib/libaccess/acl.tab.h5
-rw-r--r--lib/libaccess/acl.yy.cpp5
-rw-r--r--lib/libaccess/aclcache.cpp5
-rw-r--r--lib/libaccess/aclcache.h5
-rw-r--r--lib/libaccess/aclerror.cpp5
-rw-r--r--lib/libaccess/acleval.cpp5
-rw-r--r--lib/libaccess/aclflush.cpp5
-rw-r--r--lib/libaccess/aclpriv.h5
-rw-r--r--lib/libaccess/aclscan.h5
-rw-r--r--lib/libaccess/aclspace.cpp5
-rw-r--r--lib/libaccess/acltools.cpp5
-rw-r--r--lib/libaccess/aclutil.cpp5
-rw-r--r--lib/libaccess/aclutil.h5
-rw-r--r--lib/libaccess/authdb.cpp5
-rw-r--r--lib/libaccess/las.h5
-rw-r--r--lib/libaccess/lasdns.cpp5
-rw-r--r--lib/libaccess/lasdns.h5
-rw-r--r--lib/libaccess/lasgroup.cpp5
-rw-r--r--lib/libaccess/lasip.cpp5
-rw-r--r--lib/libaccess/lasip.h5
-rw-r--r--lib/libaccess/lastod.cpp5
-rw-r--r--lib/libaccess/lasuser.cpp5
-rw-r--r--lib/libaccess/ldapacl.cpp5
-rw-r--r--lib/libaccess/ldapauth.h5
-rw-r--r--lib/libaccess/method.cpp5
-rw-r--r--lib/libaccess/nsautherr.cpp5
-rw-r--r--lib/libaccess/nseframe.cpp5
-rw-r--r--lib/libaccess/oneeval.cpp5
-rw-r--r--lib/libaccess/oneeval.h5
-rw-r--r--lib/libaccess/parse.h5
-rw-r--r--lib/libaccess/permhash.h5
-rw-r--r--lib/libaccess/register.cpp5
-rw-r--r--lib/libaccess/symbols.cpp5
-rw-r--r--lib/libaccess/usi.cpp5
-rw-r--r--lib/libaccess/usrcache.cpp5
-rw-r--r--lib/libaccess/utest/acltest.cpp5
-rw-r--r--lib/libaccess/utest/lasemail.cpp5
-rw-r--r--lib/libaccess/utest/onetest.cpp5
-rw-r--r--lib/libaccess/utest/shexp.cpp5
-rw-r--r--lib/libaccess/utest/shexp.h5
-rw-r--r--lib/libaccess/utest/testmain.cpp5
-rw-r--r--lib/libaccess/utest/twotest.cpp5
-rw-r--r--lib/libaccess/utest/ustubs.cpp5
46 files changed, 230 insertions, 0 deletions
diff --git a/lib/libaccess/access_plhash.cpp b/lib/libaccess/access_plhash.cpp
index d767bf92..abb2e333 100644
--- a/lib/libaccess/access_plhash.cpp
+++ b/lib/libaccess/access_plhash.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
This file contains a function which augments the standard nspr PL_HashTable
api. The problem is that the hash table lookup function in the standard NSPR
diff --git a/lib/libaccess/access_plhash.h b/lib/libaccess/access_plhash.h
index 9712db78..56d4f0b5 100644
--- a/lib/libaccess/access_plhash.h
+++ b/lib/libaccess/access_plhash.h
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
NSPR_BEGIN_EXTERN_C
/*
* access_plhash.cpp - supplement to NSPR plhash
diff --git a/lib/libaccess/acl.tab.cpp b/lib/libaccess/acl.tab.cpp
index 9f66edcf..6cab7d97 100644
--- a/lib/libaccess/acl.tab.cpp
+++ b/lib/libaccess/acl.tab.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
# line 8 "acltext.y"
#include <string.h>
#include <netsite.h>
diff --git a/lib/libaccess/acl.tab.h b/lib/libaccess/acl.tab.h
index ba277c38..0bd090a5 100644
--- a/lib/libaccess/acl.tab.h
+++ b/lib/libaccess/acl.tab.h
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
typedef union
#ifdef __cplusplus
ACLSTYPE
diff --git a/lib/libaccess/acl.yy.cpp b/lib/libaccess/acl.yy.cpp
index e248cea5..ef88e039 100644
--- a/lib/libaccess/acl.yy.cpp
+++ b/lib/libaccess/acl.yy.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/* A lexical scanner generated by flex */
#define FLEX_SCANNER
diff --git a/lib/libaccess/aclcache.cpp b/lib/libaccess/aclcache.cpp
index da467cc7..aede1220 100644
--- a/lib/libaccess/aclcache.cpp
+++ b/lib/libaccess/aclcache.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <prlog.h>
#include <base/crit.h>
#include <base/ereport.h>
diff --git a/lib/libaccess/aclcache.h b/lib/libaccess/aclcache.h
index d4f73d24..8849cf63 100644
--- a/lib/libaccess/aclcache.h
+++ b/lib/libaccess/aclcache.h
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#ifndef CACHE_H
#define CACHE_H
diff --git a/lib/libaccess/aclerror.cpp b/lib/libaccess/aclerror.cpp
index 942f93e0..7c1d4a26 100644
--- a/lib/libaccess/aclerror.cpp
+++ b/lib/libaccess/aclerror.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Description (aclerror.c)
*
diff --git a/lib/libaccess/acleval.cpp b/lib/libaccess/acleval.cpp
index bc5ae71c..bf7a4736 100644
--- a/lib/libaccess/acleval.cpp
+++ b/lib/libaccess/acleval.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Description (acleval.c)
*
diff --git a/lib/libaccess/aclflush.cpp b/lib/libaccess/aclflush.cpp
index 7f34a307..8e5ce7c8 100644
--- a/lib/libaccess/aclflush.cpp
+++ b/lib/libaccess/aclflush.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* Source file for the ACL_CacheFlush-related routines.
*/
diff --git a/lib/libaccess/aclpriv.h b/lib/libaccess/aclpriv.h
index f4e9b78a..a95b3637 100644
--- a/lib/libaccess/aclpriv.h
+++ b/lib/libaccess/aclpriv.h
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* ACL private data structure definitions
*/
diff --git a/lib/libaccess/aclscan.h b/lib/libaccess/aclscan.h
index e453a1a9..e2ab7196 100644
--- a/lib/libaccess/aclscan.h
+++ b/lib/libaccess/aclscan.h
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Internal functions for scanner.
*/
diff --git a/lib/libaccess/aclspace.cpp b/lib/libaccess/aclspace.cpp
index b7f05972..a33c8621 100644
--- a/lib/libaccess/aclspace.cpp
+++ b/lib/libaccess/aclspace.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <string.h>
#include <libaccess/acl.h>
#include "aclpriv.h"
diff --git a/lib/libaccess/acltools.cpp b/lib/libaccess/acltools.cpp
index 7f96bedf..7ce82659 100644
--- a/lib/libaccess/acltools.cpp
+++ b/lib/libaccess/acltools.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* Tools to build and maintain access control lists.
*/
diff --git a/lib/libaccess/aclutil.cpp b/lib/libaccess/aclutil.cpp
index 0d14f96e..77bdf60b 100644
--- a/lib/libaccess/aclutil.cpp
+++ b/lib/libaccess/aclutil.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Source file for the TimeOfDay and DayOfWeek LAS drivers
*/
diff --git a/lib/libaccess/aclutil.h b/lib/libaccess/aclutil.h
index 4dd0124b..f2585dc8 100644
--- a/lib/libaccess/aclutil.h
+++ b/lib/libaccess/aclutil.h
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#ifndef ACLUTIL_H
#define ACLUTIL_H
diff --git a/lib/libaccess/authdb.cpp b/lib/libaccess/authdb.cpp
index 5fec834b..da435c39 100644
--- a/lib/libaccess/authdb.cpp
+++ b/lib/libaccess/authdb.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <stdio.h>
#include <string.h>
diff --git a/lib/libaccess/las.h b/lib/libaccess/las.h
index 94ceddfc..25090226 100644
--- a/lib/libaccess/las.h
+++ b/lib/libaccess/las.h
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#ifndef LAS_H
#define LAS_H
diff --git a/lib/libaccess/lasdns.cpp b/lib/libaccess/lasdns.cpp
index 904a15e4..0b3d3dcf 100644
--- a/lib/libaccess/lasdns.cpp
+++ b/lib/libaccess/lasdns.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/* lasdns.c
* This file contains the DNS LAS code.
*/
diff --git a/lib/libaccess/lasdns.h b/lib/libaccess/lasdns.h
index 83967b75..89112445 100644
--- a/lib/libaccess/lasdns.h
+++ b/lib/libaccess/lasdns.h
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
typedef struct LASDnsContext {
PRHashTable *Table;
pool_handle_t *pool;
diff --git a/lib/libaccess/lasgroup.cpp b/lib/libaccess/lasgroup.cpp
index f5d7288f..6e6602a5 100644
--- a/lib/libaccess/lasgroup.cpp
+++ b/lib/libaccess/lasgroup.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/* #define DBG_PRINT */
/* lasgroup.c
diff --git a/lib/libaccess/lasip.cpp b/lib/libaccess/lasip.cpp
index ed4761d9..aa698de6 100644
--- a/lib/libaccess/lasip.cpp
+++ b/lib/libaccess/lasip.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/* aclip.c
* This file contains the IP LAS code.
*/
diff --git a/lib/libaccess/lasip.h b/lib/libaccess/lasip.h
index c3815794..c353d9d7 100644
--- a/lib/libaccess/lasip.h
+++ b/lib/libaccess/lasip.h
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
typedef struct LASIpTree {
struct LASIpTree *action[2];
} LASIpTree_t;
diff --git a/lib/libaccess/lastod.cpp b/lib/libaccess/lastod.cpp
index f167cfde..218ea547 100644
--- a/lib/libaccess/lastod.cpp
+++ b/lib/libaccess/lastod.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/* Source file for the TimeOfDay and DayOfWeek LAS drivers
*/
#include <time.h>
diff --git a/lib/libaccess/lasuser.cpp b/lib/libaccess/lasuser.cpp
index eaff4810..ed9b8cdb 100644
--- a/lib/libaccess/lasuser.cpp
+++ b/lib/libaccess/lasuser.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/* lasuser.c
* This file contains the User LAS code.
*/
diff --git a/lib/libaccess/ldapacl.cpp b/lib/libaccess/ldapacl.cpp
index bbff3f98..6be89b18 100644
--- a/lib/libaccess/ldapacl.cpp
+++ b/lib/libaccess/ldapacl.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/* #define DBG_PRINT */
#include <netsite.h>
diff --git a/lib/libaccess/ldapauth.h b/lib/libaccess/ldapauth.h
index 62db6f73..172617d5 100644
--- a/lib/libaccess/ldapauth.h
+++ b/lib/libaccess/ldapauth.h
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#ifndef LDAP_AUTH_H
#define LDAP_AUTH_H
diff --git a/lib/libaccess/method.cpp b/lib/libaccess/method.cpp
index 64924847..11277b04 100644
--- a/lib/libaccess/method.cpp
+++ b/lib/libaccess/method.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <netsite.h>
#include <libaccess/las.h>
#include <libaccess/acl.h>
diff --git a/lib/libaccess/nsautherr.cpp b/lib/libaccess/nsautherr.cpp
index 1f491fdd..7cea84e8 100644
--- a/lib/libaccess/nsautherr.cpp
+++ b/lib/libaccess/nsautherr.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Description (nsautherr.c)
*
diff --git a/lib/libaccess/nseframe.cpp b/lib/libaccess/nseframe.cpp
index ee918b5c..b29e420f 100644
--- a/lib/libaccess/nseframe.cpp
+++ b/lib/libaccess/nseframe.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Description (nseframe.c)
*
diff --git a/lib/libaccess/oneeval.cpp b/lib/libaccess/oneeval.cpp
index 9f8cdaaa..d18fdcfa 100644
--- a/lib/libaccess/oneeval.cpp
+++ b/lib/libaccess/oneeval.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Description (acleval.c)
*
diff --git a/lib/libaccess/oneeval.h b/lib/libaccess/oneeval.h
index 9b433e20..18d4813b 100644
--- a/lib/libaccess/oneeval.h
+++ b/lib/libaccess/oneeval.h
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifndef LEVAL_H
#define LEVAL_H
diff --git a/lib/libaccess/parse.h b/lib/libaccess/parse.h
index e5b92b8f..413e271d 100644
--- a/lib/libaccess/parse.h
+++ b/lib/libaccess/parse.h
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* module private routines for handling the yacc based
* ACL Parser.
diff --git a/lib/libaccess/permhash.h b/lib/libaccess/permhash.h
index 0fa31885..f76ab4c6 100644
--- a/lib/libaccess/permhash.h
+++ b/lib/libaccess/permhash.h
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifndef _PERMHASH_H_
#define _PERMHASH_H_
diff --git a/lib/libaccess/register.cpp b/lib/libaccess/register.cpp
index aae5597c..beed23d9 100644
--- a/lib/libaccess/register.cpp
+++ b/lib/libaccess/register.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* LAS registration interface
*/
diff --git a/lib/libaccess/symbols.cpp b/lib/libaccess/symbols.cpp
index 09a3c6d8..b5d90020 100644
--- a/lib/libaccess/symbols.cpp
+++ b/lib/libaccess/symbols.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Description (symbols.c)
*
diff --git a/lib/libaccess/usi.cpp b/lib/libaccess/usi.cpp
index 361f20d3..1a8c0378 100644
--- a/lib/libaccess/usi.cpp
+++ b/lib/libaccess/usi.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include "base/systems.h"
#include "netsite.h"
#include "assert.h"
diff --git a/lib/libaccess/usrcache.cpp b/lib/libaccess/usrcache.cpp
index f6f337b8..b0ba35fd 100644
--- a/lib/libaccess/usrcache.cpp
+++ b/lib/libaccess/usrcache.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/* #define DBG_PRINT */
diff --git a/lib/libaccess/utest/acltest.cpp b/lib/libaccess/utest/acltest.cpp
index 6aafd87a..c05d6236 100644
--- a/lib/libaccess/utest/acltest.cpp
+++ b/lib/libaccess/utest/acltest.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <netsite.h>
#include <base/systhr.h>
diff --git a/lib/libaccess/utest/lasemail.cpp b/lib/libaccess/utest/lasemail.cpp
index 2fdde176..eed8d337 100644
--- a/lib/libaccess/utest/lasemail.cpp
+++ b/lib/libaccess/utest/lasemail.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/* lasemail.cpp
* This file contains the Email LAS code.
*/
diff --git a/lib/libaccess/utest/onetest.cpp b/lib/libaccess/utest/onetest.cpp
index e052f3be..1c91d25f 100644
--- a/lib/libaccess/utest/onetest.cpp
+++ b/lib/libaccess/utest/onetest.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <netsite.h>
#include <libaccess/nserror.h>
diff --git a/lib/libaccess/utest/shexp.cpp b/lib/libaccess/utest/shexp.cpp
index 601ce41c..c118081b 100644
--- a/lib/libaccess/utest/shexp.cpp
+++ b/lib/libaccess/utest/shexp.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* shexp.c: shell-like wildcard match routines
*
diff --git a/lib/libaccess/utest/shexp.h b/lib/libaccess/utest/shexp.h
index 2cad1ca5..76d62ffc 100644
--- a/lib/libaccess/utest/shexp.h
+++ b/lib/libaccess/utest/shexp.h
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* shexp.h: Defines and prototypes for shell exp. match routines
*
diff --git a/lib/libaccess/utest/testmain.cpp b/lib/libaccess/utest/testmain.cpp
index e13efd9b..24b535a3 100644
--- a/lib/libaccess/utest/testmain.cpp
+++ b/lib/libaccess/utest/testmain.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* ACL parser unit test program
*/
diff --git a/lib/libaccess/utest/twotest.cpp b/lib/libaccess/utest/twotest.cpp
index 3247856f..25024d3a 100644
--- a/lib/libaccess/utest/twotest.cpp
+++ b/lib/libaccess/utest/twotest.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <netsite.h>
#include <base/plist.h>
diff --git a/lib/libaccess/utest/ustubs.cpp b/lib/libaccess/utest/ustubs.cpp
index 01c8b3f6..425bf11e 100644
--- a/lib/libaccess/utest/ustubs.cpp
+++ b/lib/libaccess/utest/ustubs.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <sys/types.h>
#include <malloc.h>
#include <string.h>