Fix includes for generated files.

master
cybersphinx 2010-12-07 23:27:05 +01:00
parent 28e3d447ee
commit 7a672cab30
6 changed files with 13 additions and 13 deletions

View File

@ -28,8 +28,8 @@
// FIXME: #include from src/
#include "src/scriptfuncs.h"
#include "script.h"
#include "chat_processing.h"
#include "lib/script/script.h"
#include "lib/script/chat_processing.h"
/* Get the Yacc definitions */
#include "chat_parser.tab.h"

View File

@ -26,8 +26,8 @@
#include "lib/framework/frame.h"
#include "lib/framework/string_ext.h"
#include "levels.h"
#include "levelint.h"
#include "src/levels.h"
#include "src/levelint.h"
// fwrite declared with warn_unused_result, resulting in mysterious errors in "%%" on some distros.
static inline bool no_warn_unused_result(int ignore) { if (ignore) {} return true; }

View File

@ -25,13 +25,13 @@
*/
#include "lib/framework/frame.h"
#include "messagedef.h"
#include "src/messagedef.h"
/* Get the Yacc definitions */
#include "message_parser.tab.h"
#include "lib/framework/lexer_input.h"
#include "messagely.h"
#include "src/messagely.h"
// fwrite declared with warn_unused_result, resulting in mysterious errors in "%%" on some distros.
static inline bool no_warn_unused_result(int ignore) { if (ignore) {} return true; }

View File

@ -26,10 +26,10 @@
#include "lib/framework/frame.h"
#include "lib/framework/strres.h"
#include "lib/framework/frameresource.h"
#include "message.h"
#include "messagedef.h"
#include "messagely.h"
#include "text.h"
#include "src/message.h"
#include "src/messagedef.h"
#include "src/messagely.h"
#include "src/text.h"
extern void yyerror(const char* msg);
void yyerror(const char* msg)

View File

@ -32,7 +32,7 @@
#include "lib/script/script.h"
#include "lib/sound/audio.h"
#include "scriptvals.h"
#include "src/scriptvals.h"
#include "lib/framework/lexer_input.h"
#include "scriptvals_parser.tab.h"
#include "src/scripttabs.h"
@ -42,7 +42,7 @@
#include "src/message.h"
#include "src/levels.h"
#include "src/research.h"
#include "text.h"
#include "src/text.h"
// The current script code
static SCRIPT_CODE *psCurrScript;

View File

@ -26,7 +26,7 @@
#include "stringdef.h"
#define SVN_AUTOREVISION_STATIC static
#include "autorevision.h"
#include "src/autorevision.h"
#if (SVN_LOW_REV < SVN_REV)
# define SVN_FULL_REV_STR "r" SVN_LOW_REV_STR ":" SVN_REV_STR