give all folly exception types default visibility
[folly.git] / folly / io / async / AsyncSocketException.h
index 83f95ee04aa7e07ad602ea86cd9074a33c48e0b2..1e9a114ad8584b4e5eb12d063d8209050a7be635 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2017 Facebook, Inc.
+ * Copyright 2017-present Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 #pragma once
 
 #include <stdexcept>
 #include <string>
 
+#include <folly/CPortability.h>
 #include <folly/Range.h>
 
 namespace folly {
 
-class AsyncSocketException : public std::runtime_error {
+class FOLLY_EXPORT AsyncSocketException : public std::runtime_error {
  public:
   enum AsyncSocketExceptionType {
     UNKNOWN = 0,