X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=lib%2Fsys_time.in.h;h=6db7ba8e3567bcea81d1b7de8cce9e308ccb69f1;hb=3d2977f28287e1d0311c1b0ce62cfeaa35785ec2;hp=6426793d39a870a2f7cc0d5e0b5167ff3b6b5d0c;hpb=138fc7e67e3d9845cd7d81aad0e9c7724784f9b9;p=tar diff --git a/lib/sys_time.in.h b/lib/sys_time.in.h index 6426793..6db7ba8 100644 --- a/lib/sys_time.in.h +++ b/lib/sys_time.in.h @@ -2,7 +2,7 @@ /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* Provide a more complete sys/time.h. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -20,6 +20,10 @@ /* Written by Paul Eggert. */ +#if __GNUC__ >= 3 +@PRAGMA_SYSTEM_HEADER@ +#endif + #if defined _GL_SYS_TIME_H /* Simply delegate to the system's header, without adding anything. */ @@ -37,6 +41,10 @@ # include # endif +#ifdef __cplusplus +extern "C" { +#endif + # if ! @HAVE_STRUCT_TIMEVAL@ struct timeval { @@ -51,4 +59,8 @@ struct timeval int gettimeofday (struct timeval *restrict, void *restrict); # endif +#ifdef __cplusplus +} +#endif + #endif /* _GL_SYS_TIME_H */