NetBSD Problem Report #47826
From www@NetBSD.org Fri May 17 14:40:57 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id 6959763F465
for <gnats-bugs@gnats.NetBSD.org>; Fri, 17 May 2013 14:40:57 +0000 (UTC)
Message-Id: <20130517144056.D891263F465@www.NetBSD.org>
Date: Fri, 17 May 2013 14:40:56 +0000 (UTC)
From: yaneurabeya@gmail.com
Reply-To: yaneurabeya@gmail.com
To: gnats-bugs@NetBSD.org
Subject: [PATCH] fix tests/h_macros.h implicit <sys/types.h> #include
X-Send-Pr-Version: www-1.0
>Number: 47826
>Category: misc
>Synopsis: [PATCH] fix tests/h_macros.h implicit <sys/types.h> #include
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: misc-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 17 14:45:00 +0000 2013
>Closed-Date: Wed Aug 07 23:05:57 +0000 2013
>Last-Modified: Wed Aug 07 23:05:57 +0000 2013
>Originator: Garrett Cooper
>Release: CURRENT
>Organization:
EMC Isilon
>Environment:
n/a
>Description:
The attached patch #include's <sys/types.h> so it makes the header #include'able on FreeBSD with zero changes.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
From: Garrett Cooper <yaneurabeya@gmail.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: misc/47826: [PATCH] fix tests/h_macros.h implicit <sys/types.h> #include
Date: Fri, 17 May 2013 10:49:33 -0400
--Apple-Mail=_ECA287ED-70F0-4CFC-B7F3-B7247C88FFFE
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=us-ascii
Here's the patch!
-Garrett
--Apple-Mail=_ECA287ED-70F0-4CFC-B7F3-B7247C88FFFE
Content-Disposition: attachment;
filename=h_macros-include-sys-types.h-for-int-types.patch
Content-Type: application/octet-stream;
x-unix-mode=0644;
name="h_macros-include-sys-types.h-for-int-types.patch"
Content-Transfer-Encoding: 7bit
Index: tests/h_macros.h
===================================================================
RCS file: /cvsroot/src/tests/h_macros.h,v
retrieving revision 1.8
diff -u -r1.8 h_macros.h
--- tests/h_macros.h 15 Mar 2012 02:02:22 -0000 1.8
+++ tests/h_macros.h 17 May 2013 14:49:03 -0000
@@ -29,6 +29,7 @@
#ifndef SRC_TESTS_H_MACROS_H_
#define SRC_TESTS_H_MACROS_H_
+#include <sys/types.h>
#include <errno.h>
#include <stdarg.h>
#include <stdio.h>
--Apple-Mail=_ECA287ED-70F0-4CFC-B7F3-B7247C88FFFE--
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/47826 CVS commit: src/tests
Date: Fri, 17 May 2013 11:42:09 -0400
Module Name: src
Committed By: christos
Date: Fri May 17 15:42:09 UTC 2013
Modified Files:
src/tests: h_macros.h
Log Message:
PR/47826: Garrett Cooper: Add <sys/types.h>. Really I am tempted to remove
this file instead.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/tests/h_macros.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: snj@NetBSD.org
State-Changed-When: Wed, 07 Aug 2013 23:05:57 +0000
State-Changed-Why:
christos committed this back in May. Thanks!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.