diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
commit | c527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch) | |
tree | bb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/recipes-bsp/setserial/setserial/add_stdlib.patch | |
download | poky-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-bsp/setserial/setserial/add_stdlib.patch')
-rw-r--r-- | meta/recipes-bsp/setserial/setserial/add_stdlib.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-bsp/setserial/setserial/add_stdlib.patch b/meta/recipes-bsp/setserial/setserial/add_stdlib.patch new file mode 100644 index 0000000000..e34f262a89 --- /dev/null +++ b/meta/recipes-bsp/setserial/setserial/add_stdlib.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | # This patch addes stdlib.h to fix compiler warnings due to the exit | ||
2 | # built-in not being defined and getting an incorrect implicit definition | ||
3 | |||
4 | Upstream-Status: Pending | ||
5 | |||
6 | Created-by: Saul Wold <saul.wold@intel.com> | ||
7 | |||
8 | --- setserial-2.17/setserial.c 2010-09-02 14:11:27.569763088 -0700 | ||
9 | +++ setserial-2.17_fixed/setserial.c 2010-09-02 14:11:08.546264139 -0700 | ||
10 | @@ -11,6 +11,7 @@ | ||
11 | */ | ||
12 | |||
13 | #include <stdio.h> | ||
14 | +#include <stdlib.h> | ||
15 | #include <fcntl.h> | ||
16 | #include <termios.h> | ||
17 | #include <string.h> | ||
18 | |||