* lib-src/ebrowse.c: Include <stddef.h>, needed on some platforms.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user