aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2006-02-12 16:51:21 +0000
committerNed Ludd <solar@gentoo.org>2006-02-12 16:51:21 +0000
commitca1cf5d2a495824cae329759e7ad3fc6d5a96f3f (patch)
treeabc759f3be80e3a91afca8238b1a4992ad109111 /porting.h
parentdont bother eating spaces anymore as our format string should cover that (diff)
downloadpax-utils-ca1cf5d2a495824cae329759e7ad3fc6d5a96f3f.tar.gz
pax-utils-ca1cf5d2a495824cae329759e7ad3fc6d5a96f3f.tar.bz2
pax-utils-ca1cf5d2a495824cae329759e7ad3fc6d5a96f3f.zip
- add include globbing support for ld.so.conf handling. mainly only useful on distros other than gentoo
Diffstat (limited to 'porting.h')
-rw-r--r--porting.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/porting.h b/porting.h
index 4d47869..8f149b3 100644
--- a/porting.h
+++ b/porting.h
@@ -1,7 +1,7 @@
/*
* Copyright 2005-2006 Gentoo Foundation
* Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.11 2006/01/13 11:31:55 vapier Exp $
+ * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.12 2006/02/12 16:51:21 solar Exp $
*
* Copyright 2005-2006 Ned Ludd - <solar@gentoo.org>
* Copyright 2005-2006 Mike Frysinger - <vapier@gentoo.org>
@@ -29,6 +29,12 @@
#include <ctype.h>
#include <pwd.h>
+#ifndef HATE_GLOB
+# undef HAVE_GLOB
+# define HAVE_GLOB
+# include <glob.h>
+#endif
+
#include <sys/mman.h>
#include "elf.h"
#if defined(__linux__)