Index: include/assert.h =================================================================== RCS file: /public/netbsd-rsync/src/include/assert.h,v retrieving revision 1.21 diff -u -r1.21 assert.h --- include/assert.h 26 Aug 2011 01:10:49 -0000 1.21 +++ include/assert.h 3 Oct 2016 11:40:25 -0000 @@ -104,3 +104,9 @@ void __diagassert13(const char *, int, const char *, const char *); __END_DECLS #endif /* __ASSERT_DECLARED */ + +#if ((__cplusplus - 0) < 201103L) +#ifndef static_assert +#define static_assert _Static_assert +#endif /* static_assert */ +#endif