Move folly/Hash.h to folly/hash/, leaving a shim
[folly.git] / folly / Demangle.h
index 205fdb65a3fc01c2f8b63efe61c0589be37d618a..75061b5c56c87ab9e283e5cfb72a1667964ba0f1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2014 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -16,7 +16,7 @@
 
 #pragma once
 
-#include "folly/FBString.h"
+#include <folly/FBString.h>
 
 namespace folly {
 
@@ -59,4 +59,7 @@ inline size_t demangle(const std::type_info& type, char* buf, size_t bufSize) {
   return demangle(type.name(), buf, bufSize);
 }
 
-}
+// glibc doesn't have strlcpy
+size_t strlcpy(char* dest, const char* const src, size_t size);
+
+} // namespace folly