瀏覽代碼

Fix build failure

master
Arun Prakash Jana 7 年之前
父節點
當前提交
08b5fc8231
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: A75979F35C080412
共有 1 個文件被更改,包括 9 次插入1 次删除
  1. +9
    -1
      nnn.c

+ 9
- 1
nnn.c 查看文件

@@ -17,6 +17,15 @@
#include <sys/wait.h>

#include <ctype.h>
#ifdef __linux__ /* Fix failure due to mvaddnwstr() */
#ifndef NCURSES_WIDECHAR
#define NCURSES_WIDECHAR 1
#endif
#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__)
#ifndef _XOPEN_SOURCE_EXTENDED
#define _XOPEN_SOURCE_EXTENDED
#endif
#endif
#include <curses.h>
#include <dirent.h>
#include <errno.h>
@@ -39,7 +48,6 @@
#include <unistd.h>
#include <wchar.h>
#include <readline/readline.h>

#ifndef __USE_XOPEN_EXTENDED
#define __USE_XOPEN_EXTENDED 1
#endif


Loading…
取消
儲存