-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+Boston, MA 02110-1301, USA. */
+
+#ifdef HAVE_CONFIG_H
+#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 "../src/lisp.h"