Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2012 08:19:06 GMT
From:      Garrett Cooper <yanegomi@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/174078: [patch] devd.h needs sys/cdef.h
Message-ID:  <201212030819.qB38J6uI043220@red.freebsd.org>
Resent-Message-ID: <201212030820.qB38K0K5019087@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         174078
>Category:       bin
>Synopsis:       [patch] devd.h needs sys/cdef.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 03 08:20:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        n/a
>Organization:
EMC Isilon
>Environment:
n/a
>Description:
sys/cdef.h is needed in devd.h in order for it compile without warnings with yacc.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: sbin/devd/devd.h
===================================================================
--- sbin/devd/devd.h	(revision 243802)
+++ sbin/devd/devd.h	(working copy)
@@ -31,6 +31,8 @@
 #ifndef DEVD_H
 #define DEVD_H
 
+#include <sys/cdefs.h>
+
 /** @warning This file needs to be purely 'C' compatible.
  */
 struct event_proc;


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212030819.qB38J6uI043220>