Bug 1414198 - Include <functional> in nsNSSCertificate.h r?keeler draft
authorJ.C. Jones <jjones@mozilla.com>
Fri, 03 Nov 2017 17:11:04 -0700
changeset 693055 1880abfdb9c0f6f47aca1307aae849941d2961d9
parent 692714 4ada8f0d5cc011af4bc0f4fadbb25ea3e1e62bfc
child 738934 e13fbc1711a2c064ec38be4930723baf2af07cc1
push id87691
push userbmo:jjones@mozilla.com
push dateSat, 04 Nov 2017 00:14:18 +0000
reviewerskeeler
bugs1414198
milestone58.0a1
Bug 1414198 - Include <functional> in nsNSSCertificate.h r?keeler We've a report of a compilation error on a different system because std::function was undefined. MozReview-Commit-ID: 2MboMUdLzHj
security/manager/ssl/nsNSSCertificate.h
--- a/security/manager/ssl/nsNSSCertificate.h
+++ b/security/manager/ssl/nsNSSCertificate.h
@@ -1,16 +1,18 @@
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #ifndef nsNSSCertificate_h
 #define nsNSSCertificate_h
 
+#include <functional>
+
 #include "ScopedNSSTypes.h"
 #include "certt.h"
 #include "nsCOMPtr.h"
 #include "nsIASN1Object.h"
 #include "nsIClassInfo.h"
 #include "nsISerializable.h"
 #include "nsISimpleEnumerator.h"
 #include "nsIX509Cert.h"