Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-31272

Missing sys/resource.h on !linux

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

      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@mongodb.com Mark Benvenuto
            Reporter:
            andrew.aldridge@mongodb.com Andrew Aldridge
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: