about summary refs log tree commit diff
path: root/time/bits/types/struct_timespec.h
diff options
context:
space:
mode:
Diffstat (limited to 'time/bits/types/struct_timespec.h')
-rw-r--r--time/bits/types/struct_timespec.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/time/bits/types/struct_timespec.h b/time/bits/types/struct_timespec.h
index 644db9fdb6..5b77c52b4f 100644
--- a/time/bits/types/struct_timespec.h
+++ b/time/bits/types/struct_timespec.h
@@ -1,5 +1,6 @@
-#ifndef __timespec_defined
-#define __timespec_defined 1
+/* NB: Include guard matches what <linux/time.h> uses.  */
+#ifndef _STRUCT_TIMESPEC
+#define _STRUCT_TIMESPEC 1
 
 #include <bits/types.h>