Magellan Linux

Annotation of /tags/init-0_5_2/src/headers.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 851 - (hide annotations) (download)
Mon May 4 19:58:56 2009 UTC (15 years ago) by niro
File MIME type: text/plain
File size: 639 byte(s)
tagged 'init-0_5_2'
1 niro 111 /*
2     * header.h
3     * Dirty little file to include header files w/out autotools.
4     *
5     * Copyright 1999-2004 Gentoo Foundation
6     * Distributed under the terms of the GNU General Public License v2
7     * $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/src/headers.h,v 1.1 2005-07-02 15:46:28 niro Exp $
8     */
9    
10     /* Common includes */
11     #define HAVE_TIOCNOTTY
12     #define HAVE_SETSID
13    
14     /* OS-specific includes */
15     #if defined(__linux__)
16     # define HAVE_SYS_SYSMACROS_H
17     # define HAVE_ERROR_H
18     #endif
19    
20     /* Now we actually include crap ;) */
21     #ifdef HAVE_ERROR_H
22     # include <error.h>
23     #endif
24     #ifdef HAVE_SYS_SYSMACROS_H
25     # include <sys/sysmacros.h>
26     #endif