aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R Garbe2010-11-20 09:25:04 +0000
committerAnselm R Garbe2010-11-20 09:25:04 +0000
commit22cf9626c770cef164de5254169abb1031e8e000 (patch)
tree67a4a44efbe4ab4262a2fd4f6ec7ef385980876a
parent9e13ecabe883a18234eadaf9a3beb01f745ff2ba (diff)
fixed dist target bug
-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>