0

include <asm/uaccess.h>

include <asm/system.h>

include <linux/types.h>

include <linux/kernel.h>

include <linux/string.h>

include <linux/mm.h>

include <linux/socket.h>

include <linux/in.h>

include <linux/inet.h>

include <linux/netdevice.h>

include <linux/fcdevice.h>

include <linux/skbuff.h>

include <linux/errno.h>

include <linux/timer.h>

include <linux/net.h>

include <linux/proc_fs.h>

include <linux/init.h>

include <net/arp.h>

3
Contributors
3
Replies
5
Views
4 Years
Discussion Span
Last Post by THEboss007
0

In many cases there are no equivalent header files. MS-Windows compilers do not normally support POSIX standartds or functions. However the MS-Windows port of GCC has ported many of the *nix POSIX functions to MinGW compiler.

If you want to find out what header file contains a specific function then google for "msdn function_name", replacing function_name with the name of the function you are interested in. Once you find the page on MSDN scroll down towards the bottom of the page and it will tell you the names of the required header files and library files.

This makes porting programs from *nix to MS-Windows difficult and time consuming.

Edited by Ancient Dragon

0

There aren't equivalent headers unless you're using a compatibility layer. A better approach would be to port your code based on features, and look for equivalent features in the Windows APIs.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.