pkgsrc/textproc/the_silver_searcher/patches/patch-src_util.h
wiz 435d72f9e3 Initial import of the_silver_searcher-0.5.
Why use ag?

* It searches through code about 3x-5x faster than ack.
* It ignores files matched by patterns in your .gitignore and .hgignore.
* If there are files in your source repo that you don't want to
  search, just add their patterns to a .agignore file.
* It's written in C instead of perl, the lesser of two evils :)
* The binary name is 33% shorter than ack!
2012-04-13 11:32:58 +00:00

14 lines
273 B
C

$NetBSD: patch-src_util.h,v 1.1.1.1 2012/04/13 11:32:58 wiz Exp $
Add header for struct timeval.
--- src/util.h.orig 2012-04-11 04:05:42.000000000 +0000
+++ src/util.h
@@ -2,6 +2,7 @@
#define UTIL_H
#include <string.h>
+#include <sys/time.h>
#include "config.h"