Merge "riscv64 <sys/user.h>."
diff --git a/libc/include/sys/user.h b/libc/include/sys/user.h
index 2392edd..432c7cb 100644
--- a/libc/include/sys/user.h
+++ b/libc/include/sys/user.h
@@ -26,8 +26,7 @@
* SUCH DAMAGE.
*/
-#ifndef _SYS_USER_H_
-#define _SYS_USER_H_
+#pragma once
#include <sys/cdefs.h>
#include <stddef.h> /* For size_t. */
@@ -233,6 +232,11 @@
uint32_t fpcr;
};
+#elif defined(__riscv)
+
+// This space deliberately left blank for now.
+// No other libcs have any riscv64-specific structs.
+
#else
#error "Unsupported architecture."
@@ -240,5 +244,3 @@
#endif
__END_DECLS
-
-#endif /* _SYS_USER_H_ */