projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed includes for FreeBSD
[yaz-moved-to-github.git]
/
src
/
unix.c
diff --git
a/src/unix.c
b/src/unix.c
index
da80f53
..
1d2b925
100644
(file)
--- a/
src/unix.c
+++ b/
src/unix.c
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: unix.c,v 1.9 2005-01-16 21:51:50 adam Exp $
+ * $Id: unix.c,v 1.10 2005-01-17 10:29:00 adam Exp $
* UNIX socket COMSTACK. By Morten Bøgeskov.
*/
/**
* UNIX socket COMSTACK. By Morten Bøgeskov.
*/
/**
@@
-16,6
+16,9
@@
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
+#if HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
@@
-26,9
+29,6
@@
#if HAVE_PWD_H
#include <pwd.h>
#endif
#if HAVE_PWD_H
#include <pwd.h>
#endif
-#if HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
#if HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#if HAVE_SYS_SOCKET_H
#include <sys/socket.h>