Преглед изворни кода

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

Reported-by: Andrew Stormont <andrew.stormont@nexenta.com>
Guillem Jover пре 14 година
родитељ
комит
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)