[PATCH] tools/testing/selftests/proc: replace "pragma once" with include guard

From: Benjamin Lowry
Date: Wed Jan 29 2020 - 22:24:16 EST


Signed-off-by: Benjamin Lowry <ben@xxxxxxxx>
---
tools/testing/selftests/proc/proc.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tools/testing/selftests/proc/proc.h b/tools/testing/selftests/proc/proc.h
index b7d57ea40237..627f99c3740d 100644
--- a/tools/testing/selftests/proc/proc.h
+++ b/tools/testing/selftests/proc/proc.h
@@ -1,4 +1,5 @@
-#pragma once
+#ifndef _PROC_H
+#define _PROC_H
#undef NDEBUG
#include <assert.h>
#include <dirent.h>
@@ -49,3 +50,5 @@ static struct dirent *xreaddir(DIR *d)
assert(de || errno == 0);
return de;
}
+
+#endif
--
2.24.1