>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:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to