summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMark Eichin <eichin@mit.edu>1994-06-21 04:54:26 +0000
committerMark Eichin <eichin@mit.edu>1994-06-21 04:54:26 +0000
commit29887d573865b5f5a48616896f896c9477395961 (patch)
tree63d2522e0ba1d867c8f6d51b19b3328c3ef9efbb /src/include
parenta685530091715f4019e3383a4107861b7f62172a (diff)
downloadkrb5-29887d573865b5f5a48616896f896c9477395961.tar.gz
krb5-29887d573865b5f5a48616896f896c9477395961.tar.xz
krb5-29887d573865b5f5a48616896f896c9477395961.zip
add SEEK_* from L_* if needed
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3880 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/ChangeLog5
-rw-r--r--src/include/krb5/sysincl.h10
2 files changed, 10 insertions, 5 deletions
diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog
new file mode 100644
index 000000000..dea135181
--- /dev/null
+++ b/src/include/krb5/ChangeLog
@@ -0,0 +1,5 @@
+Tue Jun 21 00:50:46 1994 Mark W. Eichin (eichin at mit.edu)
+
+ * sysincl.h: SEEK_SET et. al. defined in terms of L_SET et. al. if
+ they don't already exist.
+
diff --git a/src/include/krb5/sysincl.h b/src/include/krb5/sysincl.h
index 9cab208a8..bab317e25 100644
--- a/src/include/krb5/sysincl.h
+++ b/src/include/krb5/sysincl.h
@@ -49,11 +49,11 @@
syscalls; flags for open &
friends */
/* this doesn't work under solaris. Use SEEK_* instead anyway... */
-#ifndef L_SET
-#define L_SET 0 /* absolute offset */
-#define L_INCR 1 /* relative to current offset */
-#define L_XTND 2 /* relative to end of file */
-#endif /* L_SET */
+#ifndef SEEK_SET
+#define SEEK_SET L_SET /* absolute offset */
+#define SEEK_CUR L_INCR /* relative to current offset */
+#define SEEK_END L_XTND /* relative to end of file */
+#endif /* SEEK_SET */
#ifndef FD_SET
#define FD_SETSIZE (sizeof (fd_set) * 8)