Bug #278 » 0001-Guard-unistd.h-includes.patch
| checks/syncio_http.c | ||
|---|---|---|
|
#include <gwenhywfar/syncio_buffered.h>
|
||
|
#include <gwenhywfar/buffer.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <sys/types.h>
|
||
|
#include <sys/stat.h>
|
||
|
#include <fcntl.h>
|
||
| checks/syncio_https.c | ||
|---|---|---|
|
#include <gwenhywfar/syncio_buffered.h>
|
||
|
#include <gwenhywfar/buffer.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <sys/types.h>
|
||
|
#include <sys/stat.h>
|
||
|
#include <fcntl.h>
|
||
| checks/syncio_tls.c | ||
|---|---|---|
|
#include <gwenhywfar/syncio_tls.h>
|
||
|
#include <gwenhywfar/buffer.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <sys/types.h>
|
||
|
#include <sys/stat.h>
|
||
|
#include <fcntl.h>
|
||
| doc/dialog/testdialog.c | ||
|---|---|---|
|
#include <gwenhywfar/debug.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
| gui/cocoa/libtest.m | ||
|---|---|---|
|
#include <gwenhywfar/debug.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#import <Foundation/Foundation.h>
|
||
|
#import <AppKit/AppKit.h>
|
||
| gui/fox16/libtest.cpp | ||
|---|---|---|
|
#include <gwenhywfar/debug.h>
|
||
|
#include <gwenhywfar/passwdstore.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
| gui/gtk2/libtest.c | ||
|---|---|---|
|
#include <gwenhywfar/dialog.h>
|
||
|
#include <gwenhywfar/debug.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
| gui/gtk3/libtest.c | ||
|---|---|---|
|
#include <gwenhywfar/dialog.h>
|
||
|
#include <gwenhywfar/debug.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <locale.h>
|
||
| gui/qt4/libtest.cpp | ||
|---|---|---|
|
#include <qapplication.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
| gui/qt5/libtest.cpp | ||
|---|---|---|
|
#include <QApplication>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
int test1(int argc, char **argv) {
|
||
|
QApplication a(argc, argv);
|
||
| gui/testdialogs/dlg_test.c | ||
|---|---|---|
|
#include <gwenhywfar/pathmanager.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
| gui/testdialogs/dlg_test2.c | ||
|---|---|---|
|
#include <gwenhywfar/pathmanager.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
| plugins/configmgr/dir/cfgdir.c | ||
|---|---|---|
|
#include <gwenhywfar/directory.h>
|
||
|
#include <gwenhywfar/urlfns.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <errno.h>
|
||
|
#include <string.h>
|
||
|
#include <ctype.h>
|
||
| plugins/ct/ohbci/ohbci.c | ||
|---|---|---|
|
#include <sys/types.h>
|
||
|
#include <sys/stat.h>
|
||
|
#include <fcntl.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <errno.h>
|
||
|
#ifdef OS_WIN32
|
||
| src/base/pathmanager.c | ||
|---|---|---|
|
#include <stdio.h>
|
||
|
#include <assert.h>
|
||
|
#include <string.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <errno.h>
|
||
|
#ifdef OS_WIN32
|
||
| src/binreloc.c | ||
|---|---|---|
|
#ifdef ENABLE_BINRELOC
|
||
|
#include <sys/types.h>
|
||
|
#include <sys/stat.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#endif /* ENABLE_BINRELOC */
|
||
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
| src/crypttoken/ctfile.c | ||
|---|---|---|
|
#include <string.h>
|
||
|
#include <errno.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
| src/gui/cgui.c | ||
|---|---|---|
|
#ifdef HAVE_TERMIOS_H
|
||
|
# include <termios.h>
|
||
|
#endif
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <fcntl.h>
|
||
|
#include <stdio.h>
|
||
|
#include <errno.h>
|
||
| src/gui/cprogress.c | ||
|---|---|---|
|
#include <sys/types.h>
|
||
|
#include <sys/stat.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <fcntl.h>
|
||
|
#include <errno.h>
|
||
|
#include <string.h>
|
||
| src/os/posix/directory.c | ||
|---|---|---|
|
#include <string.h>
|
||
|
#include <pwd.h>
|
||
|
#include <sys/types.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <errno.h>
|
||
|
#include <sys/stat.h>
|
||
|
#include <fcntl.h>
|
||
| src/os/posix/fslock.c | ||
|---|---|---|
|
#include <sys/stat.h>
|
||
|
#include <fcntl.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <errno.h>
|
||
|
#include <string.h>
|
||
| src/os/posix/inetsocket.c | ||
|---|---|---|
|
#include <gwenhywfar/misc.h>
|
||
|
#include <gwenhywfar/debug.h>
|
||
|
#include <errno.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <fcntl.h>
|
||
|
#include <string.h>
|
||
|
#include <stdlib.h>
|
||
| src/os/posix/process.c | ||
|---|---|---|
|
#include <sys/time.h>
|
||
|
#include <sys/types.h>
|
||
|
#include <sys/wait.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <string.h>
|
||
|
#include <ctype.h>
|
||
|
#include <errno.h>
|
||
| src/os/posix/syncio_file.c | ||
|---|---|---|
|
#include <sys/stat.h>
|
||
|
#include <sys/types.h>
|
||
|
#include <fcntl.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <errno.h>
|
||
|
#include <string.h>
|
||
|
#include <stdio.h>
|
||
| src/os/process_all.c | ||
|---|---|---|
|
#include <gwenhywfar/misc.h>
|
||
|
#include <gwenhywfar/debug.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <time.h>
|
||
| src/os/windows/inetsocket.c | ||
|---|---|---|
|
#include <gwenhywfar/debug.h>
|
||
|
#include <errno.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <fcntl.h>
|
||
|
#include <string.h>
|
||
|
#include <stdlib.h>
|
||
| src/sar/sar.c | ||
|---|---|---|
|
#include <sys/types.h>
|
||
|
#include <sys/stat.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <errno.h>
|
||
|
#include <string.h>
|
||
| src/sio/httpsession.c | ||
|---|---|---|
|
#include <gwenhywfar/text.h>
|
||
|
#include <assert.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
GWEN_INHERIT_FUNCTIONS(GWEN_HTTP_SESSION)
|
||
| test/testthread.c | ||
|---|---|---|
|
#include <gwenhywfar/nogui.h>
|
||
|
#include <gwenhywfar/debug.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
| tools/gsa/add.c | ||
|---|---|---|
|
#include <sys/types.h>
|
||
|
#include <sys/stat.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <errno.h>
|
||
|
#include <string.h>
|
||
| tools/gwenbuild/buildctx/buildctx.c | ||
|---|---|---|
|
#include <gwenhywfar/text.h>
|
||
|
#include <gwenhywfar/directory.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <ctype.h>
|
||
| tools/gwenbuild/buildctx/buildctx_bdeps.c | ||
|---|---|---|
|
#include <gwenhywfar/text.h>
|
||
|
#include <gwenhywfar/directory.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <ctype.h>
|
||
| tools/gwenbuild/buildctx/buildctx_depfile.c | ||
|---|---|---|
|
#include <gwenhywfar/text.h>
|
||
|
#include <gwenhywfar/directory.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <ctype.h>
|
||
| tools/gwenbuild/buildctx/buildctx_run.c | ||
|---|---|---|
|
#include <gwenhywfar/text.h>
|
||
|
#include <gwenhywfar/directory.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <ctype.h>
|
||
| tools/gwenbuild/buildctx/buildctx_xml.c | ||
|---|---|---|
|
#include <gwenhywfar/text.h>
|
||
|
#include <gwenhywfar/directory.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <ctype.h>
|
||
| tools/gwenbuild/c_clean.c | ||
|---|---|---|
|
#include <gwenhywfar/debug.h>
|
||
|
#include <gwenhywfar/directory.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
| tools/gwenbuild/c_dist.c | ||
|---|---|---|
|
#include <gwenhywfar/debug.h>
|
||
|
#include <gwenhywfar/directory.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <sys/types.h>
|
||
|
#include <sys/stat.h>
|
||
|
#include <time.h>
|
||
| tools/gwenbuild/c_setup.c | ||
|---|---|---|
|
#include <sys/stat.h>
|
||
|
#include <errno.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
| tools/gwenbuild/main.c | ||
|---|---|---|
|
#include <gwenhywfar/text.h>
|
||
|
#include <gwenhywfar/directory.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#ifdef HAVE_SIGNAL_H
|
||
|
# include <signal.h>
|
||
| tools/gwenbuild/parser/p_dependencies.c | ||
|---|---|---|
|
#include <gwenhywfar/text.h>
|
||
|
#include <gwenhywfar/syncio.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <ctype.h>
|
||
| tools/gwenbuild/parser/p_project.c | ||
|---|---|---|
|
#include <gwenhywfar/debug.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
| tools/gwenbuild/parser/parser.c | ||
|---|---|---|
|
#include <gwenhywfar/directory.h>
|
||
|
#include <gwenhywfar/text.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <stdlib.h>
|
||
|
#include <errno.h>
|
||
|
#include <string.h>
|
||
| ... | ... | |
|
#include <sys/types.h> /* for stat, chmod */
|
||
|
#include <sys/stat.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
| tools/gwenbuild/tools/trycompile.c | ||
|---|---|---|
|
#include <gwenhywfar/process.h>
|
||
|
#include <gwenhywfar/debug.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <stdlib.h>
|
||
| tools/gwenbuild/tools/trylink.c | ||
|---|---|---|
|
#include <gwenhywfar/process.h>
|
||
|
#include <gwenhywfar/debug.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <stdlib.h>
|
||
| tools/gwenbuild/types/gwenbuild.c | ||
|---|---|---|
|
/* for stat */
|
||
|
#include <sys/types.h>
|
||
|
#include <sys/stat.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
/* for strerror */
|
||
|
#include <errno.h>
|
||
| tools/gwenbuild/utils.c | ||
|---|---|---|
|
#include <gwenhywfar/directory.h>
|
||
|
#include <gwenhywfar/buffer.h>
|
||
|
#include <unistd.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
#include <sys/types.h>
|
||
|
#include <sys/stat.h>
|
||
|
#include <time.h>
|
||