diff options
author | Anselm R Garbe <anselm@garbe.us> | 2010-11-20 09:25:04 +0000 |
---|---|---|
committer | Anselm R Garbe <anselm@garbe.us> | 2010-11-20 09:25:04 +0000 |
commit | 22cf9626c770cef164de5254169abb1031e8e000 (patch) | |
tree | 67a4a44efbe4ab4262a2fd4f6ec7ef385980876a | |
parent | 9e13ecabe883a18234eadaf9a3beb01f745ff2ba (diff) |
fixed dist target bug
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | config.mk | 2 | ||||
-rw-r--r-- | dmenu_path.c | 1 |
3 files changed, 3 insertions, 2 deletions
@@ -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} @@ -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> |