|
Daniel P. Berrange |
99cbbf |
From fc18d751a71ff42461153eaacc57948e5771dd76 Mon Sep 17 00:00:00 2001
|
|
Daniel P. Berrange |
99cbbf |
From: rpm-build <rpm-build>
|
|
Daniel P. Berrange |
99cbbf |
Date: Mon, 5 Jun 2017 11:10:49 +0100
|
|
Daniel P. Berrange |
99cbbf |
Subject: [PATCH] Fix gnulib header clash against glibc system headers
|
|
Daniel P. Berrange |
99cbbf |
|
|
Daniel P. Berrange |
99cbbf |
---
|
|
Daniel P. Berrange |
99cbbf |
gnulib/lib/getopt-core.h | 6 +++---
|
|
Daniel P. Berrange |
99cbbf |
gnulib/lib/getopt-ext.h | 6 +++---
|
|
Daniel P. Berrange |
99cbbf |
2 files changed, 6 insertions(+), 6 deletions(-)
|
|
Daniel P. Berrange |
99cbbf |
|
|
Daniel P. Berrange |
99cbbf |
diff --git a/gnulib/lib/getopt-core.h b/gnulib/lib/getopt-core.h
|
|
Daniel P. Berrange |
99cbbf |
index 8c9eb51..cab3412 100644
|
|
Daniel P. Berrange |
99cbbf |
--- a/gnulib/lib/getopt-core.h
|
|
Daniel P. Berrange |
99cbbf |
+++ b/gnulib/lib/getopt-core.h
|
|
Daniel P. Berrange |
99cbbf |
@@ -17,8 +17,8 @@
|
|
Daniel P. Berrange |
99cbbf |
License along with the GNU C Library; if not, see
|
|
Daniel P. Berrange |
99cbbf |
<http://www.gnu.org/licenses/>. */
|
|
Daniel P. Berrange |
99cbbf |
|
|
Daniel P. Berrange |
99cbbf |
-#ifndef _GETOPT_CORE_H
|
|
Daniel P. Berrange |
99cbbf |
-#define _GETOPT_CORE_H 1
|
|
Daniel P. Berrange |
99cbbf |
+#ifndef _GL_GETOPT_CORE_H
|
|
Daniel P. Berrange |
99cbbf |
+#define _GL_GETOPT_CORE_H 1
|
|
Daniel P. Berrange |
99cbbf |
|
|
Daniel P. Berrange |
99cbbf |
/* This header should not be used directly; include getopt.h or
|
|
Daniel P. Berrange |
99cbbf |
unistd.h instead. Unlike most bits headers, it does not have
|
|
Daniel P. Berrange |
99cbbf |
@@ -93,4 +93,4 @@ extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
|
|
Daniel P. Berrange |
99cbbf |
|
|
Daniel P. Berrange |
99cbbf |
__END_DECLS
|
|
Daniel P. Berrange |
99cbbf |
|
|
Daniel P. Berrange |
99cbbf |
-#endif /* _GETOPT_CORE_H */
|
|
Daniel P. Berrange |
99cbbf |
+#endif /* _GL_GETOPT_CORE_H */
|
|
Daniel P. Berrange |
99cbbf |
diff --git a/gnulib/lib/getopt-ext.h b/gnulib/lib/getopt-ext.h
|
|
Daniel P. Berrange |
99cbbf |
index 94190df..0ded089 100644
|
|
Daniel P. Berrange |
99cbbf |
--- a/gnulib/lib/getopt-ext.h
|
|
Daniel P. Berrange |
99cbbf |
+++ b/gnulib/lib/getopt-ext.h
|
|
Daniel P. Berrange |
99cbbf |
@@ -17,8 +17,8 @@
|
|
Daniel P. Berrange |
99cbbf |
License along with the GNU C Library; if not, see
|
|
Daniel P. Berrange |
99cbbf |
<http://www.gnu.org/licenses/>. */
|
|
Daniel P. Berrange |
99cbbf |
|
|
Daniel P. Berrange |
99cbbf |
-#ifndef _GETOPT_EXT_H
|
|
Daniel P. Berrange |
99cbbf |
-#define _GETOPT_EXT_H 1
|
|
Daniel P. Berrange |
99cbbf |
+#ifndef _GL_GETOPT_EXT_H
|
|
Daniel P. Berrange |
99cbbf |
+#define _GL_GETOPT_EXT_H 1
|
|
Daniel P. Berrange |
99cbbf |
|
|
Daniel P. Berrange |
99cbbf |
/* This header should not be used directly; include getopt.h instead.
|
|
Daniel P. Berrange |
99cbbf |
Unlike most bits headers, it does not have a protective #error,
|
|
Daniel P. Berrange |
99cbbf |
@@ -74,4 +74,4 @@ extern int getopt_long_only (int ___argc, char *__getopt_argv_const *___argv,
|
|
Daniel P. Berrange |
99cbbf |
|
|
Daniel P. Berrange |
99cbbf |
__END_DECLS
|
|
Daniel P. Berrange |
99cbbf |
|
|
Daniel P. Berrange |
99cbbf |
-#endif /* _GETOPT_EXT_H */
|
|
Daniel P. Berrange |
99cbbf |
+#endif /* _GL_GETOPT_EXT_H */
|
|
Daniel P. Berrange |
99cbbf |
--
|
|
Daniel P. Berrange |
99cbbf |
2.9.3
|
|
Daniel P. Berrange |
99cbbf |
|