Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 | |