Browse Source

Fix compile error with gcc-4.4

> app.cpp:1173: error: 'uint16_t' was not declared in this scope
> app.cpp:1173: error: expected ';' before 'word'
> app.cpp:1174: error: 'uint8_t' was not declared in this scope
> app.cpp:1174: error: expected ';' before 'hi'
> app.cpp:1180: error: 'word' was not declared in this scope
> app.cpp:1181: error: 'lo' was not declared in this scope
> app.cpp:1182: error: 'hi' was not declared in this scope
> make[1]: *** [app.o] Error 1

Patch from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=553703

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>

git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/slim/trunk@170 7c53e7cc-98ea-0310-8f1f-a0b24da60408
iwamatsu 14 years ago
parent
commit
1958e19b19
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app.cpp

+ 1 - 0
app.cpp

@@ -14,6 +14,7 @@
 #include <sys/stat.h>
 #include <unistd.h>
 #include <fcntl.h>
+#include <stdint.h>
 #include <cstring>
 #include <cstdio>