summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2010-08-30 19:22:22 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2010-08-30 19:22:22 +0200
commitdac728745922a717db05f2e8dcbe6c533dc0df6f (patch)
tree128a97ee72e43d5cd77d75623fddc432e5d8e72b /src
parent6fa623fa36aed78b4c48700f675ebb0638702b0d (diff)
downloadabrt-dac728745922a717db05f2e8dcbe6c533dc0df6f.tar.gz
abrt-dac728745922a717db05f2e8dcbe6c533dc0df6f.tar.xz
abrt-dac728745922a717db05f2e8dcbe6c533dc0df6f.zip
abrtlib.h: include <assert.h> and "strbuf.h"
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/daemon/MiddleWare.cpp1
-rw-r--r--src/daemon/Settings.cpp3
-rw-r--r--src/daemon/dumpsocket.cpp7
-rw-r--r--src/hooks/dumpoops.cpp1
4 files changed, 3 insertions, 9 deletions
diff --git a/src/daemon/MiddleWare.cpp b/src/daemon/MiddleWare.cpp
index 52131c5f..9872a412 100644
--- a/src/daemon/MiddleWare.cpp
+++ b/src/daemon/MiddleWare.cpp
@@ -21,7 +21,6 @@
#include <fnmatch.h>
#include <algorithm>
#include "abrtlib.h"
-#include "abrt_types.h"
#include "Daemon.h"
#include "Settings.h"
#include "rpm.h"
diff --git a/src/daemon/Settings.cpp b/src/daemon/Settings.cpp
index 5dda12a0..6e0a82a5 100644
--- a/src/daemon/Settings.cpp
+++ b/src/daemon/Settings.cpp
@@ -16,9 +16,8 @@
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "Settings.h"
#include "abrtlib.h"
-#include "abrt_types.h"
+#include "Settings.h"
#include "Polkit.h"
#define SECTION_COMMON "Common"
diff --git a/src/daemon/dumpsocket.cpp b/src/daemon/dumpsocket.cpp
index 21421b81..f95197f6 100644
--- a/src/daemon/dumpsocket.cpp
+++ b/src/daemon/dumpsocket.cpp
@@ -15,17 +15,14 @@
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "dumpsocket.h"
-#include "abrtlib.h"
#include <glib.h>
-#include <sys/socket.h>
-#include <sys/types.h>
#include <sys/un.h>
+#include "abrtlib.h"
+#include "dumpsocket.h"
#include "debug_dump.h"
#include "crash_types.h"
#include "abrt_exception.h"
#include "hooklib.h"
-#include "strbuf.h"
#define SOCKET_FILE VAR_RUN"/abrt/abrt.socket"
#define SOCKET_PERMISSION 0666
diff --git a/src/hooks/dumpoops.cpp b/src/hooks/dumpoops.cpp
index a14fb65b..04400373 100644
--- a/src/hooks/dumpoops.cpp
+++ b/src/hooks/dumpoops.cpp
@@ -22,7 +22,6 @@
*/
#include "abrtlib.h"
-#include "abrt_types.h"
#include "abrt_exception.h"
#include "KerneloopsScanner.h"
#include <dlfcn.h>