openbsd-ports/graphics/sxiv/patches/patch-main_c
bentley ff26e255c7 Import sxiv-1.0.
sxiv is an alternative to feh and qiv. Its only dependencies besides
xlib are imlib2 and giflib. The primary goal for writing sxiv is to
create an image viewer, which only has the most basic features required
for fast image viewing (the ones I want). It has vi key bindings and
works nicely with tiling window managers. Its code base should be kept
small and clean to make it easy for you to dig into it and customize it
for your needs.

From Matthew Via, with tweaks by me/Antoine. ok ajacoutot@
2012-02-27 08:45:50 +00:00

12 lines
319 B
Plaintext

$OpenBSD: patch-main_c,v 1.1.1.1 2012/02/27 08:45:50 bentley Exp $
--- main.c.orig Mon Oct 31 10:57:09 2011
+++ main.c Sun Feb 26 16:34:43 2012
@@ -23,6 +23,7 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
+#include <sys/select.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <X11/Xutil.h>