summaryrefslogtreecommitdiff
path: root/src/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface.c')
-rw-r--r--src/interface.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/interface.c b/src/interface.c
index 4fdc09f..7c37611 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -17,7 +17,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 700
+#endif
#include <unistd.h>
#include <string.h>
@@ -27,7 +29,7 @@
#include <glib.h>
#include <pulse/pulseaudio.h>
-#include <ncurses.h>
+#include <curses.h>
#include "interface.h"
#include "ctl.h"