Index: native_client_sdk/src/libraries/nacl_io/include/sys/utsname.h |
diff --git a/native_client_sdk/src/libraries/nacl_io/include/sys/utsname.h b/native_client_sdk/src/libraries/nacl_io/include/sys/utsname.h |
index 2e3cd3daa2a9c6289ccbb3440d4d73b5d35b173f..22929159a2503e30a2c618f44a4656f661a83fc0 100644 |
--- a/native_client_sdk/src/libraries/nacl_io/include/sys/utsname.h |
+++ b/native_client_sdk/src/libraries/nacl_io/include/sys/utsname.h |
@@ -2,8 +2,8 @@ |
* Use of this source code is governed by a BSD-style license that can be |
* found in the LICENSE file. */ |
-#ifndef LIBRARIES_NACL_SYS_UTSNAME_H_ |
-#define LIBRARIES_NACL_SYS_UTSNAME_H_ |
+#ifndef LIBRARIES_NACL_IO_INCLUDE_SYS_UTSNAME_H_ |
+#define LIBRARIES_NACL_IO_INCLUDE_SYS_UTSNAME_H_ |
#define _UTSNAME_LENGTH 65 |
@@ -15,6 +15,12 @@ struct utsname { |
char machine[_UTSNAME_LENGTH]; |
}; |
+#include <sys/cdefs.h> |
+ |
+__BEGIN_DECLS |
+ |
int uname(struct utsname *buf); |
-#endif |
+__END_DECLS |
+ |
+#endif /* LIBRARIES_NACL_IO_INCLUDE_SYS_UTSNAME_H_ */ |