pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/libnbcompat/files fix missing include of geto...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ad7470f06e38
branches:  trunk
changeset: 460880:ad7470f06e38
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat Sep 06 04:28:16 2003 +0000

description:
fix missing include of getopt.h by including nbcompat.h.

diffstat:

 pkgtools/libnbcompat/files/getopt_long.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r 26a861a4fe38 -r ad7470f06e38 pkgtools/libnbcompat/files/getopt_long.c
--- a/pkgtools/libnbcompat/files/getopt_long.c  Sat Sep 06 03:52:55 2003 +0000
+++ b/pkgtools/libnbcompat/files/getopt_long.c  Sat Sep 06 04:28:16 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: getopt_long.c,v 1.4 2003/09/03 13:11:14 jlam Exp $     */
+/*     $NetBSD: getopt_long.c,v 1.5 2003/09/06 04:28:16 grant Exp $    */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -40,12 +40,14 @@
 #include "nbcompat/nbconfig.h"
 #endif
 
+#include "nbcompat.h"
+
 #if HAVE_SYS_CDEFS_H
 #include <sys/cdefs.h>
 #endif
 
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: getopt_long.c,v 1.4 2003/09/03 13:11:14 jlam Exp $");
+__RCSID("$NetBSD: getopt_long.c,v 1.5 2003/09/06 04:28:16 grant Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 /* #include "namespace.h" */
@@ -57,7 +59,6 @@
 #endif
 
 #include <errno.h>
-#include <getopt.h>
 #include <stdlib.h>
 #include <string.h>
 



Home | Main Index | Thread Index | Old Index