lkml.org 
[lkml]   [1999]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectinclude dependencies
Hallo kernel developers.

Praparing new include file for strace, I have found following trouble-making
dependencies in includes (2.1.132):

linux/serial167.h and linux/cyclades.h are not includable at once (many redundancies)

linux/lp_m68k.h and linux/lp.h if loaded in this order, some lp.h defines are not accepted.

linux/joystick.h is broken by scsi/scsi.h (BUSY)

Needed for linux/fb.h:
#include <linux/tty.h>

Needed for linux/isdn_ppp.h
#include <linux/ppp_defs.h>

Needed for linux/nfsd/export.h:
#include <linux/sunrpc/svc.h>
#include <linux/nfsd/nfsfh.h>

Needed for scsi/scsi_ioctl.h (defined in drivers/scsi/scsi.h, but no include)
typedef struct scsi_device Scsi_Device;

Probably more files depends on linux/types.h, but not includes it.

-- Stanislav Brabec


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.022 / U:1.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site