summaryrefslogtreecommitdiff
path: root/lib/xstrtoul.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-01-25 06:17:13 +0000
committerJim Meyering <jim@meyering.net>1997-01-25 06:17:13 +0000
commit0894db7b3f81d7b1dcacf021e9ef1ee77829aefe (patch)
treeb6ad19a2173b172c166a8bdd437eca5e21a10c2c /lib/xstrtoul.h
parentd58a074dead9c2bd561a760de6032baaad668215 (diff)
downloadcoreutils-0894db7b3f81d7b1dcacf021e9ef1ee77829aefe.tar.xz
(XSTRTOL_H): Undefine it.
Diffstat (limited to 'lib/xstrtoul.h')
-rw-r--r--lib/xstrtoul.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/xstrtoul.h b/lib/xstrtoul.h
index 878521aab..99f1642af 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_ */