include libgen.h in pick.c
authorPhilipp Takacs <philipp@bureaucracy.de>
Sun, 6 Jan 2019 17:31:19 +0000 (18:31 +0100)
committerPhilipp Takacs <philipp@bureaucracy.de>
Sun, 6 Jan 2019 17:31:19 +0000 (18:31 +0100)
libgen.h provides basename(). basename() is used for
the error message introduced ec2171174c019bdc83002cc29d06357e30b4b90d

uip/pick.c

index f700a0c..b1a946d 100644 (file)
@@ -16,6 +16,7 @@
 #include <sysexits.h>
 #include <ctype.h>
 #include <regex.h>
+#include <libgen.h>
 
 #ifdef HAVE_SYS_TIME_H
 # include <sys/time.h>