X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=folly%2FSmallLocks.h;h=c6ef54acea7c7e48036f974a0b2811bf87cc02d1;hb=49f2f8b170dfee4871a84c57d6e149623126a2d3;hp=b73932b78a094a31bd538ec02dda2a1a7247755c;hpb=ed14d607d70bc342818ea2f6875316654dbc1002;p=folly.git diff --git a/folly/SmallLocks.h b/folly/SmallLocks.h index b73932b7..c6ef54ac 100644 --- a/folly/SmallLocks.h +++ b/folly/SmallLocks.h @@ -1,5 +1,5 @@ /* - * Copyright 2016 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. @@ -14,8 +14,7 @@ * limitations under the License. */ -#ifndef FOLLY_SMALLLOCKS_H_ -#define FOLLY_SMALLLOCKS_H_ +#pragma once /* * This header defines a few very small mutex types. These are useful @@ -36,6 +35,8 @@ #include #include -#include +#include +#if FOLLY_X64 || FOLLY_A64 || FOLLY_PPC64 +#include #endif