diff lib/gftp.h @ 351:ae7f8b9bd2e4

2003-1-4 Brian Masney <masneyb@gftp.org> * configure.in - added src/uicommon/Makefile to the list of files to be generated. * configure.in lib/gftp.h - check for sys/mkdev.h header file. If it is found, include it. Solaris needs this for major() and minor()
author masneyb
date Sun, 04 Jan 2004 17:41:03 +0000
parents eedc2c5727fa
children 2ea37b3c0158
line wrap: on
line diff
--- a/lib/gftp.h	Sun Jan 04 17:31:59 2004 +0000
+++ b/lib/gftp.h	Sun Jan 04 17:41:03 2004 +0000
@@ -95,6 +95,11 @@
 #define GFTP_GET_AI_FAMILY(request)	AF_INET
 #endif
 
+/* Solaris needs this included for major()/minor() */
+#ifdef HAVE_SYS_MKDEV_H
+#include <sys/mkdev.h>
+#endif
+
 /* We need the major() and minor() macros in the user interface. If they aren't
    defined by the system, we'll just define them here. */
 #ifndef major