Fix supported for old compilers and make non-standard (termios.h) baud

rates optional (spotted by Tim Larson).
This commit is contained in:
mmdolze
2009-05-30 11:44:46 +00:00
parent 8e291370c3
commit 194e2a941e
4 changed files with 18 additions and 13 deletions
+7 -5
View File
@@ -31,6 +31,10 @@
* COPYING file distributed with this package.
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
@@ -39,12 +43,10 @@
#include <string.h>
#include <errno.h>
#include <time.h>
#include <stdint.h>
#include <math.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
#include <math.h>
#include "lcd.h"
#include "lcd_lib.h"