]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
changed attributes.h include path for irix
authorDavid Disseldorp <ddiss@sgi.com>
Fri, 1 Sep 2006 06:14:07 +0000 (06:14 +0000)
committerDavid Disseldorp <ddiss@sgi.com>
Fri, 1 Sep 2006 06:14:07 +0000 (06:14 +0000)
Merge of master-melb:xfs-cmds:26897a by kenmcd.

  changed attributes.h include path for irix

src/dmiperf.c

index 28f95a48e9e4c78d577a8bdcda8c8c0af19cdb91..03095edfee6c42e341bb652152c8df7cc52b9717 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#ifdef  sgi
+#include <sys/attributes.h>
+#else
 #include <attr/attributes.h>
+#endif
 
 #define MAXNAMELEN 256
-#ifndef __sgi__
+#ifndef sgi
 typedef unsigned int uint_t;
 #endif