chiark / gitweb /
serialmgr: Look for things in /usr, not /usr/local
[sympathy.git] / src / sympathy.h.head.in
1 /*
2  * sympathy.h.head.in:
3  *
4  * Copyright (c) 2008 James McKenzie <sympathy@madingley.org>,
5  * All rights reserved.
6  *
7  */
8
9 /*
10  * $Id: sympathy.h.head.in,v 1.4 2010/07/16 11:06:39 james Exp $
11  */
12
13 /*
14  * $Log: sympathy.h.head.in,v $
15  * Revision 1.4  2010/07/16 11:06:39  james
16  * add missing G2
17  *
18  * Revision 1.3  2008/03/07 14:13:40  james
19  * *** empty log message ***
20  *
21  * Revision 1.2  2008/02/13 18:05:06  james
22  * *** empty log message ***
23  *
24  * Revision 1.1  2008/02/13 16:57:29  james
25  * *** empty log message ***
26  *
27  * Revision 1.1  2008/02/03 16:20:24  james
28  * *** empty log message ***
29  *
30  *
31  */
32
33 /* MAKE ABSOLUTELY SURE THAT YOU ARE EDITING THE sympathy.h.in */
34 /* FILE FROM WHICH THIS IS GENERATED - OTHERWISE YOUR EDITS */
35 /* WILL BE LOST */
36
37 #ifndef __SYMPATHY_H__
38 #define __SYMPATHY_H__
39
40 #ifdef __cplusplus
41 extern "C" { 
42 #endif
43
44 #include <stdio.h>
45 #include <stdlib.h>
46
47 /* the integer constants here are set by configure */
48
49 /* get uint32_t and friends defined */
50 #if @G2_HAVE_STDINT_H@
51 #include <stdint.h>
52 #elif @G2_HAVE_SYS_INT_TYPES_H@
53 #include <sys/int_types.h>
54 #endif
55 #if @G2_HAVE_UNISTD_H@
56 #include <unistd.h>
57 #endif
58
59 /* If the following is <> then configure failed to find where */
60 /* struct tm was defined - report it as a bug */
61
62 /* get struct tm defined */
63 #include <@G2_TM_H@>
64
65 #if @G2_TM_IN_SYS_TIME@
66 #include <sys/time.h>
67 #if @G2_TIME_WITH_SYS_TIME@
68 #include <time.h>
69 #endif
70 #else
71 #if @G2_TIME_WITH_SYS_TIME@
72 #include <sys/time.h>
73 #endif
74 #include <time.h>
75 #endif
76
77
78 #if @G2_HAVE_MALLOC_H@
79 #include <malloc.h>
80 #endif
81
82 #if @G2_HAVE_UNISTD_H@
83 #include <unistd.h>
84 #endif
85
86 #if @G2_HAVE_STDINT_H@
87 #include <stdint.h>
88 #elif @G2_HAVE_SYS_INT_TYPES_H@
89 #include <sys/int_types.h>
90 #endif
91
92 #include <termio.h>
93 #include <termios.h>
94
95