diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-04-21 23:02:54 +0200 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-04-21 23:02:54 +0200 |
commit | 40fa6a95bb219f3d98da0dd13f87a47db1998232 (patch) | |
tree | 4719fbd483b8dff92e78d5ceb7a3f51c233157b3 | |
parent | bd94799a4ad5a1af20ad35d36e2bec2b5760659c (diff) | |
download | microcom-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.c | 1 | ||||
-rw-r--r-- | commands.c | 2 | ||||
-rw-r--r-- | commands_fsl_imx.c | 2 | ||||
-rw-r--r-- | mux.c | 2 | ||||
-rw-r--r-- | parser.c | 2 | ||||
-rw-r--r-- | serial.c | 1 | ||||
-rw-r--r-- | telnet.c | 1 |
7 files changed, 11 insertions, 0 deletions
@@ -14,6 +14,7 @@ * GNU General Public License for more details at www.gnu.org * */ +#include "config.h" #include <stdlib.h> #include <string.h> @@ -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> @@ -17,6 +17,8 @@ **************************************************************************** ** Rev. 1.0 - Feb. 2000 ****************************************************************************/ +#include "config.h" + #include "microcom.h" #include <arpa/telnet.h> #include <arpa/inet.h> @@ -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> @@ -19,6 +19,7 @@ ** Rev. 1.01 - March 2000 ** Rev. 1.02 - June 2000 ****************************************************************************/ +#include "config.h" #include <limits.h> #include <sys/file.h> @@ -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> |