changeset 40063:d9aa46720207

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.
author Bruno Haible <bruno@clisp.org>
date Fri, 04 Jan 2019 06:22:00 +0100
parents 7270f48227f7
children 999aaec88bf8
files ChangeLog lib/sys-limits.h
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Jan 03 09:47:26 2019 -0800
+++ b/ChangeLog	Fri Jan 04 06:22:00 2019 +0100
@@ -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
--- a/lib/sys-limits.h	Thu Jan 03 09:47:26 2019 -0800
+++ b/lib/sys-limits.h	Fri Jan 04 06:22:00 2019 +0100
@@ -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>