summaryrefslogtreecommitdiff
path: root/libnativeloader/native_loader_namespace.h
diff options
context:
space:
mode:
Diffstat (limited to 'libnativeloader/native_loader_namespace.h')
-rw-r--r--libnativeloader/native_loader_namespace.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libnativeloader/native_loader_namespace.h b/libnativeloader/native_loader_namespace.h
index 7200ee7961..d07c431ebd 100644
--- a/libnativeloader/native_loader_namespace.h
+++ b/libnativeloader/native_loader_namespace.h
@@ -13,7 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-#pragma once
+
+#ifndef ART_LIBNATIVELOADER_NATIVE_LOADER_NAMESPACE_H_
+#define ART_LIBNATIVELOADER_NATIVE_LOADER_NAMESPACE_H_
+
#if defined(__ANDROID__)
#include <string>
@@ -71,3 +74,5 @@ struct NativeLoaderNamespace {
} // namespace android
#endif // #if defined(__ANDROID__)
+
+#endif // ART_LIBNATIVELOADER_NATIVE_LOADER_NAMESPACE_H_