summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/statvfs.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/statvfs.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/statvfs.c')
-rw-r--r--cpukit/libcsupport/src/statvfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/statvfs.c b/cpukit/libcsupport/src/statvfs.c
index 6c3a16a292..04f223594d 100644
--- a/cpukit/libcsupport/src/statvfs.c
+++ b/cpukit/libcsupport/src/statvfs.c
@@ -10,8 +10,8 @@
* http://www.opengroup.org/onlinepubs/009695399/basedefs/sys/statvfs.h.html
*/
-#if HAVE_CONFIG_H
- #include "config.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
#endif
#include <sys/statvfs.h>