Commit b33a2a6f authored by Paul Eggert's avatar Paul Eggert

* lib-src/ebrowse.c: Include <stddef.h>, needed on some platforms.

parent fbe9e0b9
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
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment