X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fsched.in.h;h=10405d0d152bed863c2894db6809cb1733ae5564;hb=1d71dc7c690b5fe61e3e0c06303ffb59434bba4b;hp=7725e97eec5396ff2e9c3b2f82e706d8c1e18d1a;hpb=d599e5add275f75ed08e6527b8ee4d3f4f7c3aea;p=gnulib.git diff --git a/lib/sched.in.h b/lib/sched.in.h index 7725e97ee..10405d0d1 100644 --- a/lib/sched.in.h +++ b/lib/sched.in.h @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#ifndef _GL_SCHED_H +#ifndef _@GUARD_PREFIX@_SCHED_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ @@ -26,15 +26,18 @@ # @INCLUDE_NEXT@ @NEXT_SCHED_H@ #endif -#ifndef _GL_SCHED_H -#define _GL_SCHED_H +#ifndef _@GUARD_PREFIX@_SCHED_H +#define _@GUARD_PREFIX@_SCHED_H #if !@HAVE_STRUCT_SCHED_PARAM@ +# if !GNULIB_defined_struct_sched_param struct sched_param { int sched_priority; }; +# define GNULIB_defined_struct_sched_param 1 +# endif #endif @@ -44,5 +47,5 @@ struct sched_param # define SCHED_OTHER 0 #endif -#endif /* _GL_SCHED_H */ -#endif /* _GL_SCHED_H */ +#endif /* _@GUARD_PREFIX@_SCHED_H */ +#endif /* _@GUARD_PREFIX@_SCHED_H */