$NetBSD: patch-aa,v 1.3 2008/02/01 02:34:21 dmcmahill Exp $

--- src/o_picture.c.orig	2008-01-06 00:09:11.000000000 +0000
+++ src/o_picture.c	2008-01-31 17:39:27.000000000 +0000
@@ -24,4 +24,5 @@
 #include <string.h>
 #endif
+#include <libgen.h>
 #include <math.h>
 
