aboutsummaryrefslogtreecommitdiff
blob: 915ac2125538eddb32e0acb44dbdf3ca0909ab19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 53dd479745a257b85c1f8cafe8420d784dbc1fcb Mon Sep 17 00:00:00 2001
From: Martin Pitt <martin.pitt@ubuntu.com>
Date: Thu, 27 Nov 2008 19:32:35 +0100
Subject: [PATCH 29/48] 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.
---
 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 df5a749..048275f 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>
-- 
1.6.1.2