Sfoglia il codice sorgente

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

Reported-by: Andrew Stormont <andrew.stormont@nexenta.com>
Guillem Jover 14 anni fa
parent
commit
6239e5403a
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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)