summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/configure.in1
-rw-r--r--source4/include/smb.h7
2 files changed, 1 insertions, 7 deletions
diff --git a/source4/configure.in b/source4/configure.in
index 3f7bfca868..3430d1dc0a 100644
--- a/source4/configure.in
+++ b/source4/configure.in
@@ -518,6 +518,7 @@ AC_CHECK_TYPE(loff_t,off_t)
AC_CHECK_TYPE(offset_t,loff_t)
AC_CHECK_TYPE(ssize_t, int)
AC_CHECK_TYPE(wchar_t, unsigned short)
+AC_CHECK_TYPE(uint_t, unsigned int)
############################################
# we need dlopen/dlclose/dlsym/dlerror for PAM, the password database plugins and the plugin loading code
diff --git a/source4/include/smb.h b/source4/include/smb.h
index b8dd030c63..a58556a306 100644
--- a/source4/include/smb.h
+++ b/source4/include/smb.h
@@ -226,13 +226,6 @@ enum socket_error {SOCKET_READ_TIMEOUT,
#include "doserr.h"
-/* this is a trade with jeremy - I agreed to use uint_t instead of
- * bare unsigned if he agreed to not use non-braced if statements
- * (13/4/2003 - train to gottenginen) */
-#ifndef IRIX
-typedef unsigned int uint_t;
-#endif
-
/*
* SMB UCS2 (16-bit unicode) internal type.
*/