Missing sys/resource.h on !linux

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Platforms 2017-10-02
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Starting in afb51939, builds began failing on OpenBSD (and presumably other Unix-like platforms).

      This is due to src/mongo/transport/service_entry_point_utils.cpp. Changing #ifdef __linux__ to #ifndef _WIN32 as suggested in the comment fixes the build.

            Assignee:
            Mark Benvenuto
            Reporter:
            Andrew Aldridge (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: