Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62619ee
)
b=5667
author
jacob
<jacob>
Tue, 5 Apr 2005 20:33:04 +0000
(20:33 +0000)
committer
jacob
<jacob>
Tue, 5 Apr 2005 20:33:04 +0000
(20:33 +0000)
always include our local ioctl.h if _IOW isn't defined, which is
probably only catamount.
lnet/utils/debug.c
patch
|
blob
|
history
lnet/utils/portals.c
patch
|
blob
|
history
diff --git
a/lnet/utils/debug.c
b/lnet/utils/debug.c
index
ba8b790
..
418fdbc
100644
(file)
--- a/
lnet/utils/debug.c
+++ b/
lnet/utils/debug.c
@@
-34,7
+34,8
@@
#include <string.h>
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
-#else
+#endif
+#ifndef _IOWR
#include "ioctl.h"
#endif
#include <fcntl.h>
diff --git
a/lnet/utils/portals.c
b/lnet/utils/portals.c
index
e3f5916
..
a9f2e35
100644
(file)
--- a/
lnet/utils/portals.c
+++ b/
lnet/utils/portals.c
@@
-34,7
+34,8
@@
#include <fcntl.h>
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
-#else
+#endif
+#ifndef _IOWR
#include "ioctl.h"
#endif
#include <errno.h>