diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2008-11-27 19:32:35 +0100 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2008-11-27 19:32:35 +0100 |
commit | ae21157ff150db8bc87fc5fead10b5925812131c (patch) | |
tree | 80bbe4dbf591c33b0979b69932ef0d1fcb6637c9 | |
parent | e72cb4437700b4b34ac5c6de0e30dff8bb0ed89e (diff) |
fix building on Linux 2.6.28
2.6.28 changed linux/serial.h to use __32, which is provided by
linux/types.h. While arguably a kernel bug, working around it by
including it explicitly doesn't hurt.
-rw-r--r-- | hald/linux/probing/probe-serial.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hald/linux/probing/probe-serial.c b/hald/linux/probing/probe-serial.c index df5a749d..048275fe 100644 --- a/hald/linux/probing/probe-serial.c +++ b/hald/linux/probing/probe-serial.c @@ -29,6 +29,7 @@ #endif #include <fcntl.h> +#include <linux/types.h> #include <linux/serial.h> #include <stdint.h> #include <stdio.h> |