crc32c: add missing header for std::runtime_error
authorStephen Chen <tracelog@fb.com>
Fri, 21 Jul 2017 21:24:04 +0000 (14:24 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 21 Jul 2017 21:27:09 +0000 (14:27 -0700)
Summary: On the non sse42 path, we throw std::runtime_error, but Crc32cDetail.cpp is missing the header for it so it fails to compile on aarch64.

Reviewed By: yfeldblum

Differential Revision: D5468906

fbshipit-source-id: 2d5408621cb2b6758d3501407ed3d2a40d79f1b0

folly/detail/Crc32cDetail.cpp

index af8fb2b2a4b6301b6332b12239782cc06a75bc2b..42e5cae78c2f1e0f1622abf4504e1bd72fc75c52 100644 (file)
@@ -29,6 +29,8 @@
  * other code cleanup
  */
 
+#include <stdexcept>
+
 #include <folly/detail/ChecksumDetail.h>
 
 #include <folly/CppAttributes.h>