mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 09:14:18 +00:00
* lib-src/ebrowse.c: Include <stddef.h>, needed on some platforms.
This commit is contained in:
parent
fbe9e0b9fb
commit
b33a2a6feb
2 changed files with 3 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue