]> Savannah Git Hosting - gnulib.git/commitdiff
safe-read, safe-write: Fix conflict with Illumos-Joyent <sys/limits.h>.
authorBruno Haible <bruno@clisp.org>
Fri, 4 Jan 2019 05:22:00 +0000 (06:22 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 4 Jan 2019 05:23:10 +0000 (06:23 +0100)
Reported by Andy Fiddaman <andy@omniosce.org>.

* lib/sys-limits.h: Add a '_GL' prefix to the guard symbol.

ChangeLog
lib/sys-limits.h

index 79d9229722d75739f6a8204903b0379079079b9e..01493c2e070bde040a86707cb34a4294f18bd5f5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-01-04  Bruno Haible  <bruno@clisp.org>
+
+       safe-read, safe-write: Fix conflict with Illumos-Joyent <sys/limits.h>.
+       Reported by Andy Fiddaman <andy@omniosce.org>.
+       * lib/sys-limits.h: Add a '_GL' prefix to the guard symbol.
+
 2019-01-03  Eric Blake  <eblake@redhat.com>
 
        maintainer-makefile: fix typo in previous patch
index 2f09bbff1eb27c9d1f3d1553311d3e737d716be8..12611b517b5cd8a1053a3b19c0d66ae39e30d89a 100644 (file)
@@ -15,8 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program; if not, see <https://www.gnu.org/licenses/>.  */
 
-#ifndef _SYS_LIMITS_H
-#define _SYS_LIMITS_H
+#ifndef _GL_SYS_LIMITS_H
+#define _GL_SYS_LIMITS_H
 
 #include <limits.h>