diff options
author | reinelt <> | 2000-07-31 10:43:44 +0000 |
---|---|---|
committer | reinelt <> | 2000-07-31 10:43:44 +0000 |
commit | a7f2de2a1d1fb7b5c8b3ba277ea66f01e692dd18 (patch) | |
tree | a9166e080f3ac5e3675bfa3fad68942d47ff955d /HD44780.c | |
parent | 06b37e4a51870eca00dc50dfb12d8b2dae027071 (diff) | |
download | lcd4linux-a7f2de2a1d1fb7b5c8b3ba277ea66f01e692dd18.tar.gz |
[lcd4linux @ 2000-07-31 10:43:44 by reinelt]
some changes to support kernel-2.4 (different layout of various files in /proc)
Diffstat (limited to 'HD44780.c')
-rw-r--r-- | HD44780.c | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: HD44780.c,v 1.5 2000/07/31 06:46:35 reinelt Exp $ +/* $Id: HD44780.c,v 1.6 2000/07/31 10:43:44 reinelt Exp $ * * driver for display modules based on the HD44780 chip * @@ -20,6 +20,10 @@ * * * $Log: HD44780.c,v $ + * Revision 1.6 2000/07/31 10:43:44 reinelt + * + * some changes to support kernel-2.4 (different layout of various files in /proc) + * * Revision 1.5 2000/07/31 06:46:35 reinelt * * eliminated some compiler warnings with glibc @@ -68,7 +72,15 @@ #include <time.h> #include <signal.h> #include <errno.h> +#ifdef HAVE_SYS_IO_H #include <sys/io.h> +#else +#ifdef HAVE_ASM_IO_H +#include <asm/io.h> +#else +#error "neither sys/io.h nor asm/io.h found!" +#endif +#endif #include "debug.h" #include "cfg.h" |