diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2000-07-31 10:43:44 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2000-07-31 10:43:44 +0000 |
commit | 7ff246c0458df37567dcefebfd9a720f9b98cdb7 (patch) | |
tree | a9166e080f3ac5e3675bfa3fad68942d47ff955d /HD44780.c | |
parent | 5369cdf6f69abc9a33581e8209f4fc1d2ea468f1 (diff) | |
download | lcd4linux-7ff246c0458df37567dcefebfd9a720f9b98cdb7.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)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@60 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
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" |