changeset 1:b753afeb3f34

Does build under debian testing
author thib
date Fri, 01 Aug 2008 16:34:21 +0000
parents 223b71206888
children 422f3cb3614b
files config.h.in font/text_stream.cc window/button.cc
diffstat 3 files changed, 3 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/config.h.in
+++ b/config.h.in
@@ -1,12 +1,4 @@
 /* config.h.in.  Generated from configure.in by autoheader.  */
-/* gettext حر */
-#undef ENABLE_NLS
-#undef HAVE_CATGETS
-#undef HAVE_GETTEXT
-#undef HAVE_LC_MESSAGES
-#undef HAVE_STPCPY
-#undef PACKAGE
-#undef VERSION
 
 /* default display size */
 #undef DISPSIZE
@@ -147,5 +139,5 @@
 /* Define to empty if `const' does not conform to ANSI C. */
 #undef const
 
-/* Define to `unsigned' if <sys/types.h> does not define. */
+/* Define to `unsigned int' if <sys/types.h> does not define. */
 #undef size_t
--- a/font/text_stream.cc
+++ b/font/text_stream.cc
@@ -27,6 +27,7 @@
 
 #include "text.h"
 #include "codeconv.h"
+#include<string.h>
 #include<stdio.h>
 
 /************************************************************************
--- a/window/button.cc
+++ b/window/button.cc
@@ -469,6 +469,7 @@ void ButtonColor::SetBrightness(int c1, 
 }
 
 #include"rect.h"
+#include<stdlib.h>
 #include<string.h>
 
 static void draw_button(char* rdata, int width, int height, char* bdata, int bwidth, int bheight, const ButtonColor& color) {