Commit 5750ebd8 authored by Karl Heuer's avatar Karl Heuer
Browse files

Add #undef for index and rindex.

parent 99d7a69d
......@@ -21,6 +21,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <config.h>
#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 <X11/Xatom.h>
#include <X11/IntrinsicP.h>
#include <X11/ObjectP.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment