mirror of https://gitee.com/openkylin/aalib.git
Fix FTBFS with -Werror=implicit-function-declaration; fix-ftbfs-incomplete-typedef
This commit is contained in:
parent
f2bdcfb0af
commit
566d6cd554
|
@ -1,3 +1,10 @@
|
|||
aalib (1.4p5-ok2) nile; urgency=medium
|
||||
|
||||
* Fix FTBFS with -Werror=implicit-function-declaration.
|
||||
* Fix ftbfs incomplete typedef.
|
||||
|
||||
-- liwenjun <liwenjun@kylinos.cn> Fri, 02 Aug 2024 16:44:47 +0800
|
||||
|
||||
aalib (1.4p5-ok1) yangtze; urgency=medium
|
||||
|
||||
* Build for openKylin.
|
||||
|
|
|
@ -77,8 +77,7 @@ static void curses_getsize(aa_context * c, int *width, int *height)
|
|||
{
|
||||
if (__resized_curses)
|
||||
curses_uninit(c), curses_init(&c->params, NULL,&c->driverparams, NULL), __resized_curses = 0;
|
||||
*width = stdscr->_maxx + 1;
|
||||
*height = stdscr->_maxy + 1;
|
||||
getmaxyx(stdscr, *width, *height);
|
||||
#ifdef GPM_MOUSEDRIVER
|
||||
gpm_mx = *width;
|
||||
gpm_my = *height;
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
#ifndef __AALIB_INCLUDED__
|
||||
#define __AALIB_INCLUDED__
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include <X11/Xlib.h>
|
||||
#include <X11/keysymdef.h>
|
||||
#include <X11/keysym.h>
|
||||
#include <X11/Xutil.h>
|
||||
#include "aalib.h"
|
||||
#include "aaint.h"
|
||||
#include "aaxint.h"
|
||||
|
|
Loading…
Reference in New Issue