summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--config.mk2
-rw-r--r--dmenu_path.c1
3 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8abfd0c..c3934e7 100644
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ clean:
dist: clean
@echo creating dist tarball
@mkdir -p dmenu-${VERSION}
- @cp LICENSE Makefile README config.mk dmenu.1 dmenu.c dmenu_path.c dmenu_run dmenu-${VERSION}
+ @cp LICENSE Makefile README config.mk dmenu.1 dmenu.c draw.c draw.h dmenu_path.c dmenu_run dmenu-${VERSION}
@tar -cf dmenu-${VERSION}.tar dmenu-${VERSION}
@gzip dmenu-${VERSION}.tar
@rm -rf dmenu-${VERSION}
diff --git a/config.mk b/config.mk
index 4264514..ebaab81 100644
--- a/config.mk
+++ b/config.mk
@@ -1,5 +1,5 @@
# dmenu version
-VERSION = 4.2
+VERSION = 4.2.1
# Customize below to fit your system
diff --git a/dmenu_path.c b/dmenu_path.c
index 15d0da0..8df2667 100644
--- a/dmenu_path.c
+++ b/dmenu_path.c
@@ -1,5 +1,6 @@
/* See LICENSE file for copyright and license details. */
#include <dirent.h>
+#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>