# HG changeset patch # User Karl Heuer # Date 819533189 0 # Node ID 5a7e9e98add76f543921e58edd6d6ba596e306c1 # Parent 94f0319d4cbbdd8a7c63f37904c23c65fc2cbc07 Add #undef for index and rindex. diff -r 94f0319d4cbb -r 5a7e9e98add7 lwlib/lwlib-utils.c --- a/lwlib/lwlib-utils.c Thu Dec 21 08:01:26 1995 +0000 +++ b/lwlib/lwlib-utils.c Thu Dec 21 08:06:29 1995 +0000 @@ -21,6 +21,13 @@ #include #endif +/* Definitions of these in config.h can cause + declaration conflicts later on between declarations for index + and declarations for strchr. This file doesn't use + index and rindex, so cancel them. */ +#undef index +#undef rindex + #include #include #include