aboutsummaryrefslogtreecommitdiff
path: root/gcc/analyzer/analyzer-language.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/analyzer/analyzer-language.cc')
-rw-r--r--gcc/analyzer/analyzer-language.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/analyzer/analyzer-language.cc b/gcc/analyzer/analyzer-language.cc
index ba4352b..0629b68 100644
--- a/gcc/analyzer/analyzer-language.cc
+++ b/gcc/analyzer/analyzer-language.cc
@@ -72,6 +72,8 @@ on_finish_translation_unit (const translation_unit &tu)
maybe_stash_named_constant (tu, "O_ACCMODE");
maybe_stash_named_constant (tu, "O_RDONLY");
maybe_stash_named_constant (tu, "O_WRONLY");
+ maybe_stash_named_constant (tu, "SOCK_STREAM");
+ maybe_stash_named_constant (tu, "SOCK_DGRAM");
}
/* Lookup NAME in the named constants stashed when the frontend TU finished.