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

Missing sys/resource.h on !linux

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Platforms 2017-10-02

    Description

      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.

      Attachments

        Activity

          People

            mark.benvenuto@mongodb.com Mark Benvenuto
            andrew.aldridge@mongodb.com Andrew Aldridge
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: