After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 668946 - info: use proper includes for BSD
info: use proper includes for BSD
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: general
git master
Other OpenBSD
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-01-29 11:31 UTC by Antoine Jacoutot
Modified: 2012-01-30 11:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
use proper includes for BSD (691 bytes, patch)
2012-01-29 11:31 UTC, Antoine Jacoutot
none Details | Review

Description Antoine Jacoutot 2012-01-29 11:31:30 UTC
Created attachment 206349 [details] [review]
use proper includes for BSD

<sys/vfs.h> does not exist on BSDs.
Instead, statfs() requires sys/param.h and sys/mount.h.

This patch fixes that.
OK to push?
Comment 1 Bastien Nocera 2012-01-30 11:18:36 UTC
(In reply to comment #0)
> Created an attachment (id=206349) [details] [review]
> use proper includes for BSD
> 
> <sys/vfs.h> does not exist on BSDs.
> Instead, statfs() requires sys/param.h and sys/mount.h.
> 
> This patch fixes that.
> OK to push?

statfs isn't present in any of that code.


commit dc7abc26c06329d07cba7da4cdcce9c7d251dd81
Author: Bastien Nocera <hadess@hadess.net>
Date:   Mon Jan 30 11:16:54 2012 +0000

    info: Remove unnecessary and non-portable include
    
    https://bugzilla.gnome.org/show_bug.cgi?id=668946