openbsd-ports/sysutils/contool/patches/patch-expand_c
pvalchev ab4b094775 - store getopt's return value into an int, not a char
- getopt(3) returns -1 when out of arguments, not EOF
- rename patches with update-patches
2002-02-23 23:45:18 +00:00

12 lines
386 B
Plaintext

$OpenBSD: patch-expand_c,v 1.1 2002/02/23 23:45:18 pvalchev Exp $
--- expand.c.orig Thu Feb 24 10:55:35 1994
+++ expand.c Sat Feb 23 16:38:21 2002
@@ -17,6 +17,7 @@
/* without prior permission from Harris Corporation. */
/************************************************************************/
+#include <sys/types.h>
#include <dirent.h>
#include <pwd.h>
#include <stdlib.h>