summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-04-09 11:04:07 -0700
committerJeremy Allison <jra@samba.org>2012-04-09 21:40:40 +0200
commit5701a4d8611ad1e310b76b00b146b0902c9b34ff (patch)
treee73924791ec3c12f796836cd1827cef1561b9a97 /source3/include/includes.h
parent5184f41cd8f51fd426bb6b7d6fea657df44dd8a4 (diff)
downloadsamba-5701a4d8611ad1e310b76b00b146b0902c9b34ff.tar.gz
samba-5701a4d8611ad1e310b76b00b146b0902c9b34ff.tar.bz2
samba-5701a4d8611ad1e310b76b00b146b0902c9b34ff.zip
Move blksize_t and blkcnt_t to replace.h from includes.h. Should help with platforms that don't have these.
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Apr 9 21:40:42 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 7bdd20074a..88b8b4fef2 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -317,16 +317,6 @@ typedef uint64_t br_off;
#define SOFF_T_R(p, ofs, v) (SIVAL(p,(ofs)+4,(v)&0xFFFFFFFF), SIVAL(p,ofs,(v)>>32))
#define IVAL_TO_SMB_OFF_T(buf,off) ((off_t)(( ((uint64_t)(IVAL((buf),(off)))) & ((uint64_t)0xFFFFFFFF) )))
-#ifndef HAVE_BLKSIZE_T
-/* This is mainly for HP/UX which defines st_blksize as long */
-typedef long blksize_t;
-#endif
-
-#ifndef HAVE_BLKCNT_T
-/* This is mainly for HP/UX which doesn't have blkcnt_t */
-typedef long blkcnt_t;
-#endif
-
/*
* Type for stat structure.
*/