]> Savannah Git Hosting - gnulib.git/commitdiff
bitset, crypto/gc: fix conflicts with Solaris 11
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 4 Jan 2019 06:36:21 +0000 (22:36 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 4 Jan 2019 06:37:14 +0000 (22:37 -0800)
* lib/bitset.h (_GL_BITSET_H): Rename from _BITSET_H, to
avoid clash with Solaris 11 <sys/bitset.h>.
* lib/gc.h (_GL_GC_H): Rename from GC_H, to avoid clash
with Solaris 11 <xorg/gc.h>.

ChangeLog
lib/bitset.h
lib/gc.h

index 01493c2e070bde040a86707cb34a4294f18bd5f5..3258b12d6bc45d0abb828b46592a1cf2c70b815e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2019-01-03  Paul Eggert  <eggert@cs.ucla.edu>
+
+       bitset, crypto/gc: fix conflicts with Solaris 11
+       * lib/bitset.h (_GL_BITSET_H): Rename from _BITSET_H, to
+       avoid clash with Solaris 11 <sys/bitset.h>.
+       * lib/gc.h (_GL_GC_H): Rename from GC_H, to avoid clash
+       with Solaris 11 <xorg/gc.h>.
+
 2019-01-04  Bruno Haible  <bruno@clisp.org>
 
        safe-read, safe-write: Fix conflict with Illumos-Joyent <sys/limits.h>.
index a2e9c0371f565cac6d3fef04ddf69a638333ed11..32d08e7aa97adfaa959305afb0090faaeecaac21 100644 (file)
@@ -17,8 +17,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#ifndef _BITSET_H
-#define _BITSET_H
+#ifndef _GL_BITSET_H
+#define _GL_BITSET_H
 
 /* This file is the public interface to the bitset abstract data type.
    Only use the functions and macros defined in this file.  */
@@ -385,4 +385,4 @@ void debug_bitset (bitset);
 /* Function to debug bitset stats from debugger.  */
 void debug_bitset_stats (void);
 
-#endif /* _BITSET_H  */
+#endif /* _GL_BITSET_H  */
index 664bb9e14c1a0f2c7a15e48058cd25339fad4ac4..b5f8327dcd24b7e849968f885f1d548c9defef27 100644 (file)
--- a/lib/gc.h
+++ b/lib/gc.h
@@ -16,8 +16,8 @@
  *
  */
 
-#ifndef GC_H
-# define GC_H
+#ifndef _GL_GC_H
+# define _GL_GC_H
 
 /* Get size_t. */
 # include <stddef.h>
@@ -321,4 +321,4 @@ gc_pbkdf2_sha1 (const char *P, size_t Plen,
   Simon
  */
 
-#endif /* GC_H */
+#endif /* _GL_GC_H */