Skip to content

Instantly share code, notes, and snippets.

@NTMan
Created June 8, 2015 11:30
Show Gist options
  • Save NTMan/d27b6ba6bb43bf535b6f to your computer and use it in GitHub Desktop.
Save NTMan/d27b6ba6bb43bf535b6f to your computer and use it in GitHub Desktop.
diff --git a/cmake/modules/FindDIALOG.cmake b/cmake/modules/FindDIALOG.cmake
index ba46253..f66e771 100644
--- a/cmake/modules/FindDIALOG.cmake
+++ b/cmake/modules/FindDIALOG.cmake
@@ -16,10 +16,10 @@
find_path(DIALOG_INCLUDE_DIR
- NAMES dialog.h
+ NAMES dialog/dialog.h
)
find_library(DIALOG_LIBRARY
- NAMES dialog
+ NAMES libdialog
)
find_path(NCURSES_INCLUDE_DIR
diff --git a/cui/main.c b/cui/main.c
index faa52e5..eea85aa 100644
--- a/cui/main.c
+++ b/cui/main.c
@@ -9,7 +9,7 @@
#include <errno.h>
#include <unistd.h>
#include <curses.h>
-#include <dialog.h>
+#include <dialog/dialog.h>
#include "libdevcheck.h"
#include "device.h"
#include "utils.h"
diff --git a/cui/sliding_window_renderer.c b/cui/sliding_window_renderer.c
index 4a48d42..c77b675 100644
--- a/cui/sliding_window_renderer.c
+++ b/cui/sliding_window_renderer.c
@@ -2,7 +2,7 @@
#include <stdio.h>
#include <wchar.h>
#include <curses.h>
-#include <dialog.h>
+#include <dialog/dialog.h>
#include <assert.h>
#include "render.h"
diff --git a/cui/whole_space_renderer.c b/cui/whole_space_renderer.c
index 775d0a8..ba3c9d0 100644
--- a/cui/whole_space_renderer.c
+++ b/cui/whole_space_renderer.c
@@ -2,7 +2,7 @@
#include <stdio.h>
#include <wchar.h>
#include <curses.h>
-#include <dialog.h>
+#include <dialog/dialog.h>
#include <assert.h>
#include "render.h"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment