X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Flexer%2Flexer.h;h=b35ea7f54e05d9da00ffbcc23b18d71ebb174b97;hb=refs%2Fbuilds%2F20110914030501%2Fpspp;hp=b9e936bf994c67cdb7d6952950196f57170b3cf3;hpb=fe8dc2171009e90d2335f159d05f7e6660e24780;p=pspp diff --git a/src/language/lexer/lexer.h b/src/language/lexer/lexer.h index b9e936bf99..b35ea7f54e 100644 --- a/src/language/lexer/lexer.h +++ b/src/language/lexer/lexer.h @@ -20,6 +20,13 @@ #include #include +/* The following #include avoids a potential problem when Gnulib substitutes + * for close() by putting "#define close rpl_close" into , by + * ensuring that every source file that includes this one sees the #define. + * (It would probably be better to rename the 'close' member of struct + * lex_reader_class.) */ +#include + #include "data/identifier.h" #include "data/variable.h" #include "libpspp/compiler.h"