diff options
Diffstat (limited to 'src/widget.c')
| -rw-r--r-- | src/widget.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/widget.c b/src/widget.c index e662dd3ecdf..c3d396ddab0 100644 --- a/src/widget.c +++ b/src/widget.c | |||
| @@ -31,10 +31,10 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 31 | #include <config.h> | 31 | #include <config.h> |
| 32 | #include "widget.h" | 32 | #include "widget.h" |
| 33 | 33 | ||
| 34 | #include <stdio.h> | ||
| 35 | #include <stdlib.h> | 34 | #include <stdlib.h> |
| 36 | 35 | ||
| 37 | #include "lisp.h" | 36 | #include "lisp.h" |
| 37 | #include "sysstdio.h" | ||
| 38 | #include "xterm.h" | 38 | #include "xterm.h" |
| 39 | #include "frame.h" | 39 | #include "frame.h" |
| 40 | 40 | ||
| @@ -364,8 +364,7 @@ EmacsFrameInitialize (Widget request, Widget new, ArgList dum1, Cardinal *dum2) | |||
| 364 | 364 | ||
| 365 | if (!ew->emacs_frame.frame) | 365 | if (!ew->emacs_frame.frame) |
| 366 | { | 366 | { |
| 367 | fprintf (stderr, | 367 | fputs ("can't create an emacs frame widget without a frame\n", stderr); |
| 368 | "can't create an emacs frame widget without a frame\n"); | ||
| 369 | exit (1); | 368 | exit (1); |
| 370 | } | 369 | } |
| 371 | 370 | ||