[haiku-commits] r39384 - haiku/trunk/src/bin/addattr
- From: superstippi@xxxxxx
- To: haiku-commits@xxxxxxxxxxxxx
- Date: Wed, 10 Nov 2010 10:02:15 +0100 (CET)
Author: stippi
Date: 2010-11-10 10:02:15 +0100 (Wed, 10 Nov 2010)
New Revision: 39384
Changeset: http://dev.haiku-os.org/changeset/39384
Modified:
haiku/trunk/src/bin/addattr/addAttr.cpp
Log:
close() is defined in unistd.h as per the OpenGroup. Hope this
works on all host platforms, fixes the build on Linux at least.
Modified: haiku/trunk/src/bin/addattr/addAttr.cpp
===================================================================
--- haiku/trunk/src/bin/addattr/addAttr.cpp 2010-11-09 23:28:07 UTC (rev
39383)
+++ haiku/trunk/src/bin/addattr/addAttr.cpp 2010-11-10 09:02:15 UTC (rev
39384)
@@ -13,10 +13,11 @@
#include <fs_attr.h>
+#include <ctype.h>
+#include <errno.h>
#include <stdlib.h>
#include <string.h>
-#include <errno.h>
-#include <ctype.h>
+#include <unistd.h>
template<class Type>
Other related posts:
- » [haiku-commits] r39384 - haiku/trunk/src/bin/addattr - superstippi