summaryrefslogtreecommitdiff
path: root/libnativeloader/library_namespaces.h
diff options
context:
space:
mode:
Diffstat (limited to 'libnativeloader/library_namespaces.h')
-rw-r--r--libnativeloader/library_namespaces.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libnativeloader/library_namespaces.h b/libnativeloader/library_namespaces.h
index 7b3efff4df..8fac534302 100644
--- a/libnativeloader/library_namespaces.h
+++ b/libnativeloader/library_namespaces.h
@@ -13,7 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-#pragma once
+
+#ifndef ART_LIBNATIVELOADER_LIBRARY_NAMESPACES_H_
+#define ART_LIBNATIVELOADER_LIBRARY_NAMESPACES_H_
+
#if !defined(__ANDROID__)
#error "Not available for host"
#endif
@@ -65,3 +68,5 @@ class LibraryNamespaces {
};
} // namespace android::nativeloader
+
+#endif // ART_LIBNATIVELOADER_LIBRARY_NAMESPACES_H_