summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/rtems_putc.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-04-15 09:48:32 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-04-16 07:30:00 +0200
commit80cf60efec79ac63cc3a26c6ad8f86790a385847 (patch)
tree313926454bd4564d902b5585d9bb50fec5d17535 /cpukit/libcsupport/src/rtems_putc.c
parentlibnetworking: Remove config.h include in header (diff)
downloadrtems-80cf60efec79ac63cc3a26c6ad8f86790a385847.tar.bz2
Canonicalize config.h include
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
Diffstat (limited to 'cpukit/libcsupport/src/rtems_putc.c')
-rw-r--r--cpukit/libcsupport/src/rtems_putc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/rtems_putc.c b/cpukit/libcsupport/src/rtems_putc.c
index 784f768f1b..6596a06d94 100644
--- a/cpukit/libcsupport/src/rtems_putc.c
+++ b/cpukit/libcsupport/src/rtems_putc.c
@@ -19,8 +19,8 @@
* http://www.rtems.org/license/LICENSE.
*/
-#if HAVE_CONFIG_H
- #include "config.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
#endif
#include <rtems/bspIo.h>