Author: rmottola
Date: Tue Feb 16 23:41:31 2016
New Revision: 39383
URL: http://svn.gna.org/viewcvs/gnustep?rev=39383&view=rev
Log:
we need those headers for getuid() too not just getmntent
Modified:
libs/gui/trunk/Source/NSWorkspace.m
Modified: libs/gui/trunk/Source/NSWorkspace.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/gui/trunk/Source/NSWorkspace.m?rev=39383&r1=39382&r2=39383&view=diff
==============================================================================
--- libs/gui/trunk/Source/NSWorkspace.m (original)
+++ libs/gui/trunk/Source/NSWorkspace.m Tue Feb 16 23:41:31 2016
@@ -32,9 +32,9 @@
#import "config.h"
-#if defined(HAVE_GETMNTINFO)
#include <unistd.h>
#include <sys/types.h>
+#if defined(HAVE_GETMNTINFO)
#include <sys/param.h>
#include <sys/mount.h>
#elif defined(HAVE_GETMNTENT) && defined (MNT_MEMB)
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs