]> git.eshelyaron.com Git - emacs.git/commitdiff
* lib-src/ebrowse.c: Include <stddef.h>, needed on some platforms.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 21 Jun 2013 20:27:13 +0000 (13:27 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 21 Jun 2013 20:27:13 +0000 (13:27 -0700)
lib-src/ChangeLog
lib-src/ebrowse.c

index 62ee45aac51567c61c6b35a140ad78392a609caa..e60b415ae171452511533b91ed83bdf979e71620 100644 (file)
@@ -1,7 +1,8 @@
 2013-06-21  Paul Eggert  <eggert@cs.ucla.edu>
 
        Use C99-style flexible array members if available.
-       * ebrowse.c (struct member, struct alias, struct sym):
+       * ebrowse.c: Include <stddef.h>, for offsetof.
+       (struct member, struct alias, struct sym):
        Use FLEXIBLE_ARRAY_MEMBER.
        (add_sym, add_member, make_namespace, register_namespace_alias):
        Use offsetof (struct, flex_array_member), not sizeof (struct), as
index 81d0cf0a19e3c8eedf25fac6fe761255531dcecc..2828591ed3f3e0b1d67fd562663ff10bf4427fda 100644 (file)
@@ -19,6 +19,7 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
 
 #include <config.h>
+#include <stddef.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>