summaryrefslogtreecommitdiff
path: root/beecrypt/entropy.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2004-08-02 02:23:27 +0000
committerjbj <devnull@localhost>2004-08-02 02:23:27 +0000
commit6626798a65dcf66c7268d4dca95a32e140b01c40 (patch)
tree4fe9e07012d7e244812ca23fefc05fa34a912794 /beecrypt/entropy.c
parent538aa3a481e0886ba1d255785ab38a720fc70c35 (diff)
downloadlibrpm-tizen-6626798a65dcf66c7268d4dca95a32e140b01c40.tar.gz
librpm-tizen-6626798a65dcf66c7268d4dca95a32e140b01c40.tar.bz2
librpm-tizen-6626798a65dcf66c7268d4dca95a32e140b01c40.zip
Add system.h and debug.h, remove internal include path structure.
CVS patchset: 7376 CVS date: 2004/08/02 02:23:27
Diffstat (limited to 'beecrypt/entropy.c')
-rw-r--r--beecrypt/entropy.c32
1 files changed, 5 insertions, 27 deletions
diff --git a/beecrypt/entropy.c b/beecrypt/entropy.c
index 958c8c410..9e972e674 100644
--- a/beecrypt/entropy.c
+++ b/beecrypt/entropy.c
@@ -22,14 +22,10 @@
* \ingroup ES_m ES_audio_m ES_dsp_m ES_random_m ES_urandom_m ES_tty_m
*/
-#define BEECRYPT_DLL_EXPORT
+#include "system.h"
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include "beecrypt/entropy.h"
-#include "beecrypt/endianness.h"
+#include "entropy.h"
+#include "endianness.h"
#if WIN32
# include <mmsystem.h>
@@ -39,20 +35,6 @@
# if HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
# endif
-# if HAVE_SYS_STAT_H
-# include <sys/types.h>
-# include <sys/stat.h>
-# endif
-# if TIME_WITH_SYS_TIME
-# include <sys/time.h>
-# include <time.h>
-# else
-# if HAVE_SYS_TIME_H
-# include <sys/time.h>
-# elif HAVE_TIME_H
-# include <time.h>
-# endif
-# endif
# if HAVE_SYS_AUDIOIO_H
# include <sys/audioio.h>
# endif
@@ -75,12 +57,8 @@
# include <aio.h>
# endif
#endif
-#if HAVE_FCNTL_H
-# include <fcntl.h>
-#endif
-#if HAVE_ERRNO_H
-# include <errno.h>
-#endif
+
+#include "debug.h"
#if WIN32
static HINSTANCE entropy_instance = (HINSTANCE) 0;