From: Jim Meyering <jim@meyering.net>
Date: Sat, 25 Jan 1997 06:17:13 +0000 (+0000)
Subject: (XSTRTOL_H): Undefine it.
X-Git-Tag: TEXTUTILS-1_21a~2
X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=c7b0a297e05e7bbf0239a644c8d71171601d9350;p=gnulib.git

(XSTRTOL_H): Undefine it.
---

diff --git a/lib/xstrtoul.h b/lib/xstrtoul.h
index 878521aab4..99f1642afa 100644
--- a/lib/xstrtoul.h
+++ b/lib/xstrtoul.h
@@ -2,6 +2,12 @@
 # define XSTRTOUL_H_ 1
 
 # define STRING_TO_UNSIGNED 1
+
+/* Undefine this symbol so we can include xstrtol.h a second time.
+   Otherwise, a program that wanted both xstrtol.h and xstrtoul.h
+   would never get the declaration corresponding to the header file 
+   included after the first one.  */
+# undef XSTRTOL_H_
 # include "xstrtol.h"
 
 #endif /* not XSTRTOUL_H_ */