summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-04-21 23:02:54 +0200
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-04-21 23:02:54 +0200
commit40fa6a95bb219f3d98da0dd13f87a47db1998232 (patch)
tree4719fbd483b8dff92e78d5ceb7a3f51c233157b3
parentbd94799a4ad5a1af20ad35d36e2bec2b5760659c (diff)
downloadmicrocom-40fa6a95bb219f3d98da0dd13f87a47db1998232.tar.gz
microcom-40fa6a95bb219f3d98da0dd13f87a47db1998232.tar.xz
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 <u.kleine-koenig@pengutronix.de>
-rw-r--r--can.c1
-rw-r--r--commands.c2
-rw-r--r--commands_fsl_imx.c2
-rw-r--r--mux.c2
-rw-r--r--parser.c2
-rw-r--r--serial.c1
-rw-r--r--telnet.c1
7 files changed, 11 insertions, 0 deletions
diff --git a/can.c b/can.c
index ab153f7..3948911 100644
--- a/can.c
+++ b/can.c
@@ -14,6 +14,7 @@
* GNU General Public License for more details at www.gnu.org
*
*/
+#include "config.h"
#include <stdlib.h>
#include <string.h>
diff --git a/commands.c b/commands.c
index 6d6c0e9..ed1b8f0 100644
--- a/commands.c
+++ b/commands.c
@@ -6,6 +6,8 @@
* Foundation; either version 2 of the License, or (at your option) any later
* version.
*/
+#include "config.h"
+
#include <stdlib.h>
#include "microcom.h"
diff --git a/commands_fsl_imx.c b/commands_fsl_imx.c
index 3d64601..f5b07ef 100644
--- a/commands_fsl_imx.c
+++ b/commands_fsl_imx.c
@@ -6,6 +6,8 @@
* Foundation; either version 2 of the License, or (at your option) any later
* version.
*/
+#include "config.h"
+
#include <stdio.h>
#include <sys/select.h>
#include <stdint.h>
diff --git a/mux.c b/mux.c
index 33c92f7..b7535b8 100644
--- a/mux.c
+++ b/mux.c
@@ -17,6 +17,8 @@
****************************************************************************
** Rev. 1.0 - Feb. 2000
****************************************************************************/
+#include "config.h"
+
#include "microcom.h"
#include <arpa/telnet.h>
#include <arpa/inet.h>
diff --git a/parser.c b/parser.c
index 012e183..f9289d2 100644
--- a/parser.c
+++ b/parser.c
@@ -6,6 +6,8 @@
* Foundation; either version 2 of the License, or (at your option) any later
* version.
*/
+#include "config.h"
+
#include <stdio.h>
#include <readline/readline.h>
#include <readline/history.h>
diff --git a/serial.c b/serial.c
index e4dc39c..01265b4 100644
--- a/serial.c
+++ b/serial.c
@@ -19,6 +19,7 @@
** Rev. 1.01 - March 2000
** Rev. 1.02 - June 2000
****************************************************************************/
+#include "config.h"
#include <limits.h>
#include <sys/file.h>
diff --git a/telnet.c b/telnet.c
index a056fe2..c32a2d4 100644
--- a/telnet.c
+++ b/telnet.c
@@ -15,6 +15,7 @@
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details at www.gnu.org
****************************************************************************/
+#include "config.h"
#include <stdlib.h>
#include <arpa/telnet.h>