浏览代码

ERR: Another attempt to remove warnings from missing prototypes.

Brad King 23 年之前
父节点
当前提交
f6a70573b0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/CursesDialog/form/frm_driver.c

+ 1 - 1
Source/CursesDialog/form/frm_driver.c

@@ -45,7 +45,7 @@ MODULE_ID("$Id$")
 
 /* These declarations are missing from curses.h on some platforms.  */
 extern int winnstr(WINDOW *, char *, int);
-#if defined(__DECCXX_VER)
+#if defined(__DECCXX_VER) || (defined(__GNUC__) && defined(__osf__))
 extern int waddnstr(WINDOW *,const char *const,int);
 extern void wbkgdset(WINDOW *,chtype);
 #ifndef untouchwin