
1: /* system.h: system-dependent declarations; include this first. 2: Copyright (C) 1996, 2005, 2006, 2007 Free Software Foundation, Inc. 3: 4: This program is free software; you can redistribute it and/or modify 5: it under the terms of the GNU General Public License as published by 6: the Free Software Foundation; either version 3, or (at your option) 7: any later version. 8: 9: This program is distributed in the hope that it will be useful, 10: but WITHOUT ANY WARRANTY; without even the implied warranty of 11: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12: GNU General Public License for more details. 13: 14: You should have received a copy of the GNU General Public License 15: along with this program; if not, write to the Free Software Foundation, 16: Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ 17: 18: #ifndef HELLO_SYSTEM_H 19: #define HELLO_SYSTEM_H 20: 21: /* Assume ANSI C89 headers are available. */ 22: #include <locale.h> 23: #include <stdio.h> 24: #include <stdlib.h> 25: #include <string.h> 26: 27: /* Use POSIX headers. If they are not available, we use the substitute 28: provided by gnulib. */ 29: #include <getopt.h> 30: #include <unistd.h> 31: 32: /* Internationalization. */ 33: #include "gettext.h" 34: #define _(str) gettext (str) 35: #define N_(str) gettext_noop (str) 36: 37: /* Check for errors on write. */ 38: #include "closeout.h" 39: 40: #endif /* HELLO_SYSTEM_H */