changeset 496:a38542cf4cc6

Make lwcc stuff compile (on Linux anyway)
author William Astle <lost@l-w.ca>
date Mon, 05 Aug 2019 21:30:50 -0600
parents 5b8871fd7503
children 4b865c9d4371
files lwcc/cc-main.c lwcc/cpp-main.c lwcc/driver-main.c
diffstat 3 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lwcc/cc-main.c	Mon Aug 05 21:27:09 2019 -0600
+++ b/lwcc/cc-main.c	Mon Aug 05 21:30:50 2019 -0600
@@ -29,6 +29,8 @@
 #include <lw_cmdline.h>
 #include <lw_string.h>
 
+#include <version.h>
+
 #include "cpp.h"
 #include "tree.h"
 
--- a/lwcc/cpp-main.c	Mon Aug 05 21:27:09 2019 -0600
+++ b/lwcc/cpp-main.c	Mon Aug 05 21:30:50 2019 -0600
@@ -29,6 +29,8 @@
 #include <lw_cmdline.h>
 #include <lw_string.h>
 
+#include <version.h>
+
 #include "cpp.h"
 
 int process_file(const char *);
--- a/lwcc/driver-main.c	Mon Aug 05 21:27:09 2019 -0600
+++ b/lwcc/driver-main.c	Mon Aug 05 21:30:50 2019 -0600
@@ -33,6 +33,8 @@
 #include <lw_string.h>
 #include <lw_stringlist.h>
 
+#include <version.h>
+
 #define VERSTRING "lwcc from " PACKAGE_STRING
 #define S(x) S2(x)
 #define S2(x) #x