]>
git.lyx.org Git - lyx.git/blobdiff - src/support/userinfo.C
#if defined (_WIN32)
# include "gettext.h"
-# include <lmcons.h>
# include <windows.h>
+# include <lmcons.h>
#else
# include <pwd.h>
-# include <unistd.h>
+# ifdef HAVE_UNISTD_H
+# include <unistd.h>
+# endif
+#endif
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
#endif
-#include <sys/types.h>
using std::string;