Skip to content
Snippets Groups Projects
Commit 963de579 authored by bwzhou's avatar bwzhou
Browse files

Branch HEAD

b=14746
r=adilger, bwzhou

patch for _IOWR redefined build error on SLES10 environment (the LNET part)
parent 77cc02e6
No related branches found
No related tags found
No related merge requests found
......@@ -185,9 +185,7 @@ static inline void our_cond_resched(void)
#else /* !__KERNEL__ */
# include <stdio.h>
# include <stdlib.h>
#ifdef CRAY_XT3
# include <ioctl.h>
#elif defined(__CYGWIN__)
#if defined(__CYGWIN__)
# include <cygwin-ioctl.h>
#else
# include <stdint.h>
......@@ -197,6 +195,9 @@ static inline void our_cond_resched(void)
# include <limits.h>
# include <errno.h>
# include <sys/ioctl.h> /* for _IOWR */
#ifndef _IOWR
#include "ioctl.h"
#endif
# define CFS_MODULE_PARM(name, t, type, perm, desc)
#define PORTAL_SYMBOL_GET(x) inter_module_get(#x)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment