*BSD News Article 57576


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!vixen.cso.uiuc.edu!howland.reston.ans.net!Germany.EU.net!Dortmund.Germany.EU.net!interface-business.de!usenet
From: j@ida.interface-business.de (J. Wunsch)
Newsgroups: comp.unix.bsd.386bsd.misc
Subject: Re: Problems including <sys/tape.h>
Date: 15 Dec 1995 19:40:17 GMT
Organization: interface business GmbH, Dresden
Lines: 17
Message-ID: <4asiv1$fq5@innocence.interface-business.de>
References: <4a37tv$8rq@mailhub.hcl.com>
Reply-To: joerg_wunsch@interface-business.de (Joerg Wunsch)
NNTP-Posting-Host: ida.interface-business.de
X-Newsreader: knews 0.9.3

patrick@bsd.hcl.com (Patrick Wong) writes:
> I have problems include the c header <sys/tape.h> in a simple C program. 
> Below is the problems I get. Does anyone have any ideas:
> 
> 
> bsd:patrick $ gcc hello.c
> In file included from hello.c:2:
> /usr/include/sys/tape.h:13: field `tp_dev' has incomplete type
> /usr/include/sys/tape.h:15: syntax error before `u_long'

Looks like you've forgotten to #include <sys/types.h> before.

-- 
J"org Wunsch					       Unix support engineer
joerg_wunsch@interface-business.de
					[private: http://www.sax.de/~joerg/]