{"json_modified": "2016-03-28T08:22:57.122759", "uuid": "bda4cd10-28f3-4a57-945b-9248ed8ceb2d", "title": "Include_dependencies", "url": "/en-US/docs/Mozilla/Developer_guide/Include_dependencies", "tags": ["Developing", "Guide", "Mozilla"], "translations": [], "modified": "2014-04-16T12:20:48", "label": "Include_dependencies", "localization_tags": [], "locale": "en-US", "id": 53856, "last_edit": "2014-04-16T12:20:48", "summary": "It is best to avoid including files inside headers, because these files will end up being included indirectly in many translation units.

\n Bad header dependencies like in the example above are bad because:", "sections": [{"id": "Forward_declarations", "title": "Forward declarations"}, {"id": "Some_things_can't_be_forward_declared", "title": "Some things can't be forward declared"}, {"id": "Forward_declarations_and_nsRefPtr", "title": "Forward declarations and nsRefPtr"}, {"id": "How_to_see_that_a_header_is_included_in_many_translation_units", "title": "How to see that a header is included in many translation units?"}], "slug": "Mozilla/Developer_guide/Include_dependencies", "review_tags": ["technical"]}