aboutsummaryrefslogtreecommitdiffstats
path: root/oldXMenu/XMenuInt.h
diff options
context:
space:
mode:
authorPaul Eggert2022-03-14 13:14:23 -0700
committerPaul Eggert2022-03-14 13:14:54 -0700
commit5c13c33e0c1b8b2ada18896e7a74b4d31007b09e (patch)
treeba8eb2f934d20396e4ac5e39041990496b237256 /oldXMenu/XMenuInt.h
parent0d0703e9c4fb5ebcd4a87e5ebe78e5f53496621e (diff)
downloademacs-5c13c33e0c1b8b2ada18896e7a74b4d31007b09e.tar.gz
emacs-5c13c33e0c1b8b2ada18896e7a74b4d31007b09e.zip
Another fix for the no-toolkit build
This should be better in the long run. * oldXMenu/Activate.c (XMenuActivate): Revert previous change, eliminating the goto it introduced. * oldXMenu/XMenuInt.h: Include <attribute.h>, for FALLTHROUGH.
Diffstat (limited to 'oldXMenu/XMenuInt.h')
-rw-r--r--oldXMenu/XMenuInt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/oldXMenu/XMenuInt.h b/oldXMenu/XMenuInt.h
index 86b8e057cd5..5d5365ad8f2 100644
--- a/oldXMenu/XMenuInt.h
+++ b/oldXMenu/XMenuInt.h
@@ -37,6 +37,8 @@ without express or implied warranty.
37 37
38#include <config.h> 38#include <config.h>
39 39
40#include <attribute.h>
41
40/* Avoid warnings about redefining NULL by including <stdio.h> first; 42/* Avoid warnings about redefining NULL by including <stdio.h> first;
41 the other file which wants to define it (<stddef.h> on Ultrix 43 the other file which wants to define it (<stddef.h> on Ultrix
42 systems) can deal if NULL is already defined, but <stdio.h> can't. */ 44 systems) can deal if NULL is already defined, but <stdio.h> can't. */