summaryrefslogtreecommitdiff
path: root/src/imlib.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-12-04 21:34:14 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-12-04 21:34:14 +0100
commitbafc47fd575bb7878214deda3730efcb6c755770 (patch)
tree2bfa39bf4febb59710f9b9c48f2e335627eb0251 /src/imlib.c
parent3fc148aecf9a5334a26752acf6b6d71819cbc2f4 (diff)
Declare sig_exit as volatile
sig_exit may be changed by a signal handler, so its value should always be read from RAM.
Diffstat (limited to 'src/imlib.c')
-rw-r--r--src/imlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imlib.c b/src/imlib.c
index 3bc0126..4d2f2fa 100644
--- a/src/imlib.c
+++ b/src/imlib.c
@@ -26,6 +26,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "feh.h"
#include "filelist.h"
+#include "signals.h"
#include "winwidget.h"
#include "options.h"
@@ -37,7 +38,6 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#ifdef HAVE_LIBCURL
#include <curl/curl.h>
-extern int sig_exit;
#endif
#ifdef HAVE_LIBEXIF