Explorar el Código

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

Reported-by: Andrew Stormont <andrew.stormont@nexenta.com>
Guillem Jover hace 14 años
padre
commit
6239e5403a
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      dselect/main.cc

+ 3 - 0
dselect/main.cc

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