summaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/aws-c-common/source/posix/system_info.c
diff options
context:
space:
mode:
authorrobot-contrib <[email protected]>2022-08-13 11:43:23 +0300
committerrobot-contrib <[email protected]>2022-08-13 11:43:23 +0300
commit663a71c87c74435c8fe839bdf69435fe8d2041fc (patch)
tree5e48d5d467a4ac9ca6f23cee6af4686e6a3b1424 /contrib/restricted/aws/aws-c-common/source/posix/system_info.c
parent9f56b74635b15ccaa4ff881784be7ed8e3f18fe1 (diff)
Update contrib/restricted/aws/aws-c-common to 0.8.0
Diffstat (limited to 'contrib/restricted/aws/aws-c-common/source/posix/system_info.c')
-rw-r--r--contrib/restricted/aws/aws-c-common/source/posix/system_info.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/restricted/aws/aws-c-common/source/posix/system_info.c b/contrib/restricted/aws/aws-c-common/source/posix/system_info.c
index e841243fb12..4a856e52522 100644
--- a/contrib/restricted/aws/aws-c-common/source/posix/system_info.c
+++ b/contrib/restricted/aws/aws-c-common/source/posix/system_info.c
@@ -14,8 +14,11 @@
# define __BSD_VISIBLE 1
#endif
-#if defined(__linux__) || defined(__unix__)
+#if defined(__linux__)
# include <sys/sysinfo.h>
+#endif
+
+#if defined(__linux__) || defined(__unix__)
# include <sys/types.h>
#endif