The following commit has been merged in the master branch:
commit 6239e5403a5a4cc987652ac6bc6e46bd8aeacdf0
Author: Guillem Jover <[email protected]>
Date:   Wed Nov 16 04:24:11 2011 +0100

    dselect: Solaris requires curses.h to be included before term.h
    
    Reported-by: Andrew Stormont <[email protected]>

diff --git a/dselect/main.cc b/dselect/main.cc
index 6508b1f..ffb5597 100644
--- a/dselect/main.cc
+++ b/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)

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to