blob: e34f262a895e64397dfba61fbd32fe4dcf3086ab [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001# 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
4Upstream-Status: Pending
5
6Created-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