Skip to content

Commit

Permalink
fix compilation without curses
Browse files Browse the repository at this point in the history
  • Loading branch information
NaN-git committed Feb 12, 2018
1 parent 23a6c0a commit db95dee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions adl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1065,6 +1065,7 @@ void change_autosettings(int gpu)
gpus[gpu].cutofftemp = val;
}
}
#endif

void init_adl(int nDevs)
{
Expand Down Expand Up @@ -1471,6 +1472,7 @@ void init_adl(int nDevs)
gpu_stats = &adl_gpu_stats;
}

#ifdef HAVE_CURSES
void change_gpusettings(int gpu)
{
struct gpu_adl *ga = &gpus[gpu].adl;
Expand Down

0 comments on commit db95dee

Please sign in to comment.