Просмотр исходного кода

dselect: Solaris requires curses.h to be included before term.h

Reported-by: Andrew Stormont <andrew.stormont@nexenta.com>
Guillem Jover лет назад: 14
Родитель
Сommit
6239e5403a
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      dselect/main.cc

+ 3 - 0
dselect/main.cc

@@ -40,6 +40,9 @@
 #include <stdlib.h>
 #include <stdio.h>
 
+// Solaris requires curses.h to be included before term.h
+#include "dselect-curses.h"
+
 #if defined(HAVE_NCURSESW_TERM_H)
 #include <ncursesw/term.h>
 #elif defined(HAVE_NCURSES_TERM_H)