Skip to content

Commit 40fa6a9

Browse files
author
Uwe Kleine-König
committed
Include "config.h" in all source files
This is necessary to actually use the cpp symbols defined in config.h for large file support. Signed-off-by: Uwe Kleine-König <[email protected]>
1 parent bd94799 commit 40fa6a9

File tree

7 files changed

+11
-0
lines changed

7 files changed

+11
-0
lines changed

can.c

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* GNU General Public License for more details at www.gnu.org
1515
*
1616
*/
17+
#include "config.h"
1718

1819
#include <stdlib.h>
1920
#include <string.h>

commands.c

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* Foundation; either version 2 of the License, or (at your option) any later
77
* version.
88
*/
9+
#include "config.h"
10+
911
#include <stdlib.h>
1012
#include "microcom.h"
1113

commands_fsl_imx.c

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* Foundation; either version 2 of the License, or (at your option) any later
77
* version.
88
*/
9+
#include "config.h"
10+
911
#include <stdio.h>
1012
#include <sys/select.h>
1113
#include <stdint.h>

mux.c

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
****************************************************************************
1818
** Rev. 1.0 - Feb. 2000
1919
****************************************************************************/
20+
#include "config.h"
21+
2022
#include "microcom.h"
2123
#include <arpa/telnet.h>
2224
#include <arpa/inet.h>

parser.c

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* Foundation; either version 2 of the License, or (at your option) any later
77
* version.
88
*/
9+
#include "config.h"
10+
911
#include <stdio.h>
1012
#include <readline/readline.h>
1113
#include <readline/history.h>

serial.c

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
** Rev. 1.01 - March 2000
2020
** Rev. 1.02 - June 2000
2121
****************************************************************************/
22+
#include "config.h"
2223

2324
#include <limits.h>
2425
#include <sys/file.h>

telnet.c

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1616
** GNU General Public License for more details at www.gnu.org
1717
****************************************************************************/
18+
#include "config.h"
1819

1920
#include <stdlib.h>
2021
#include <arpa/telnet.h>

0 commit comments

Comments
 (0)